Skip to content

Commit ca13b63

Browse files
nficanoclaude
andcommitted
chore: rename composer package arcp/arcp -> arcp/sdk
Aligns Packagist package name with the consistent sdk naming used across the other ARCP language SDKs. Updates composer.json, the publish workflow, README, CONTRIBUTING, and docs. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent b9b018a commit ca13b63

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
environment: packagist
2121
env:
22-
PACKAGE_NAME: arcp/arcp
22+
PACKAGE_NAME: arcp/sdk
2323
REPOSITORY_URL: https://github.com/agentruntimecontrolprotocol/php-sdk
2424
PACKAGIST_USERNAME: ${{ secrets.PACKAGIST_USERNAME }}
2525
PACKAGIST_TOKEN: ${{ secrets.PACKAGIST_TOKEN }}

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributing to arcp/arcp
1+
# Contributing to arcp/sdk
22

33
Thanks for your interest in improving the PHP SDK for ARCP. This
44
document covers how to report issues, propose changes, and get a change merged.
@@ -129,7 +129,7 @@ the changelog. Prefer clarity over cleverness in a library others build on.
129129
## Releases
130130

131131
Releases are cut by maintainers. The package is published to
132-
[Packagist](https://packagist.org/packages/arcp/arcp); pushing a
132+
[Packagist](https://packagist.org/packages/arcp/sdk); pushing a
133133
`v*` tag (for example `v1.1.0`) triggers the `publish` GitHub Actions
134134
workflow, which validates the Composer metadata, builds the archive,
135135
and notifies Packagist. The SDK is versioned with

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<p align="center"><strong>PHP SDK for the Agent Runtime Control Protocol (ARCP) — submit, observe, and control long-running agent jobs from PHP.</strong></p>
44

55
<p align="center">
6-
<a href="https://packagist.org/packages/arcp/arcp"><img alt="Packagist" src="https://img.shields.io/packagist/v/arcp/arcp.svg"></a>
6+
<a href="https://packagist.org/packages/arcp/sdk"><img alt="Packagist" src="https://img.shields.io/packagist/v/arcp/sdk.svg"></a>
77
<a href="https://github.com/agentruntimecontrolprotocol/php-sdk/actions/workflows/test.yml"><img alt="CI" src="https://github.com/agentruntimecontrolprotocol/php-sdk/actions/workflows/test.yml/badge.svg"></a>
8-
<a href="https://packagist.org/packages/arcp/arcp"><img alt="PHP version" src="https://img.shields.io/packagist/php-v/arcp/arcp.svg"></a>
8+
<a href="https://packagist.org/packages/arcp/sdk"><img alt="PHP version" src="https://img.shields.io/packagist/php-v/arcp/sdk.svg"></a>
99
<a href="https://github.com/agentruntimecontrolprotocol/spec/blob/main/docs/draft-arcp-1.1.md"><img alt="ARCP" src="https://img.shields.io/badge/ARCP-v1.1%20draft-blue"></a>
1010
<a href="LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-lightgrey"></a>
1111
<a href="https://coderabbit.ai"><img alt="CodeRabbit" src="https://img.shields.io/coderabbit/prs/github/agentruntimecontrolprotocol/php-sdk?utm_source=oss&utm_medium=github&utm_campaign=agentruntimecontrolprotocol/php-sdk&labelColor=171717&color=FF570A&label=CodeRabbit+Reviews"></a>
@@ -22,7 +22,7 @@
2222

2323
---
2424

25-
`arcp/arcp` is the PHP reference implementation of [ARCP](https://github.com/agentruntimecontrolprotocol/spec/blob/main/docs/draft-arcp-1.1.md), the Agent Runtime Control Protocol. It covers both sides of the wire — `Arcp\Client\ARCPClient` for submitting and observing jobs, `Arcp\Runtime\ARCPRuntime` for hosting agents — so either side can talk to any conformant peer in any language without hand-rolling the envelope, sequencing, or lease enforcement.
25+
`arcp/sdk` is the PHP reference implementation of [ARCP](https://github.com/agentruntimecontrolprotocol/spec/blob/main/docs/draft-arcp-1.1.md), the Agent Runtime Control Protocol. It covers both sides of the wire — `Arcp\Client\ARCPClient` for submitting and observing jobs, `Arcp\Runtime\ARCPRuntime` for hosting agents — so either side can talk to any conformant peer in any language without hand-rolling the envelope, sequencing, or lease enforcement.
2626

2727
ARCP itself is a transport-agnostic wire protocol for long-running AI agent jobs. It owns the parts of agent infrastructure that don't change between products — sessions, durable event streams, capability leases, budgets, resume — and stays out of the parts that do. ARCP wraps the agent function; it does not define how agents are built, how tools are exposed (that's MCP), or how telemetry is exported (that's OpenTelemetry).
2828

@@ -31,7 +31,7 @@ ARCP itself is a transport-agnostic wire protocol for long-running AI agent jobs
3131
Requires PHP 8.4 or newer and Composer 2.x. The SDK ships as a single Composer package; the `bin/arcp` CLI is registered automatically so `vendor/bin/arcp` is available in any project that pulls it in.
3232

3333
```sh
34-
composer require arcp/arcp
34+
composer require arcp/sdk
3535
```
3636

3737
The `pdo_sqlite`, `mbstring`, and `json` extensions are required (all bundled with most PHP distributions). The runtime uses [Amp v3](https://amphp.org/) + fibers; no extra extension is needed for async.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "arcp/arcp",
2+
"name": "arcp/sdk",
33
"description": "PHP reference implementation of the Agent Runtime Control Protocol (ARCP) v1.1",
44
"type": "library",
55
"license": "Apache-2.0",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ the runtime, client, transports, and protocol features.
1414
- [Getting started](./getting-started.md) - install, create an in-process runtime + client, run the checks.
1515
- [Architecture](./architecture.md) - how the PHP namespaces fit together.
1616
- [Transports](./transports.md) - WebSocket, stdio, and memory transports.
17-
- [CLI](./cli.md) - the `bin/arcp` command shipped by `arcp/arcp`.
17+
- [CLI](./cli.md) - the `bin/arcp` command shipped by `arcp/sdk`.
1818

1919
## Guides (one per spec section)
2020

@@ -35,7 +35,7 @@ the runtime, client, transports, and protocol features.
3535

3636
The TypeScript SDK has package-specific docs because its code is split
3737
across multiple npm packages. PHP ships as one Composer package,
38-
`arcp/arcp`, so this documentation follows the namespace layout under
38+
`arcp/sdk`, so this documentation follows the namespace layout under
3939
`src/`.
4040

4141
| Namespace | Purpose |

docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Architecture
22

3-
The PHP SDK is a single Composer package, `arcp/arcp`, with namespaces
3+
The PHP SDK is a single Composer package, `arcp/sdk`, with namespaces
44
that map to the same layers as the TypeScript SDK packages.
55

66
## Layering

docs/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ composer install
1717
As a dependency:
1818

1919
```sh
20-
composer require arcp/arcp
20+
composer require arcp/sdk
2121
```
2222

2323
## In-process demo (no network)

0 commit comments

Comments
 (0)