alink-cli 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.mjs +9 -17
- package/dist/bin.mjs.map +1 -1
- package/package.json +3 -1
package/dist/bin.mjs
CHANGED
|
@@ -2871,7 +2871,7 @@ const RelayServerGroup = HttpApiGroup.make("server").add(HttpApiEndpoint.post("p
|
|
|
2871
2871
|
success: RelayPublishResponse,
|
|
2872
2872
|
error: RelayAgentActivityPublishErrors
|
|
2873
2873
|
}).annotate(OpenApi.Summary, "Publish agent activity")).annotate(OpenApi.Description, "Environment-authenticated activity publication.").middleware(RelayEnvironmentAuth);
|
|
2874
|
-
HttpApi.make("RelayApi").add(RelayHealthGroup, RelayMetadataGroup, RelayMobileGroup, RelayClientGroup, RelayTokenGroup, RelayDpopClientGroup, RelayServerGroup).annotate(OpenApi.Title, "
|
|
2874
|
+
HttpApi.make("RelayApi").add(RelayHealthGroup, RelayMetadataGroup, RelayMobileGroup, RelayClientGroup, RelayTokenGroup, RelayDpopClientGroup, RelayServerGroup).annotate(OpenApi.Title, "AgentLink Relay API").annotate(OpenApi.Version, "1.0.0").annotate(OpenApi.Description, "Control-plane API for linking T3 environments, connecting authorized clients, and publishing agent activity.");
|
|
2875
2875
|
//#endregion
|
|
2876
2876
|
//#region ../t3-contracts/src/environmentHttp.ts
|
|
2877
2877
|
const OptionalBearerHeaders = Schema$1.Struct({
|
|
@@ -7445,20 +7445,20 @@ const trimmedNonEmpty = (annotations, maxLength) => {
|
|
|
7445
7445
|
return encoded.pipe(Schema$1.decodeTo(encoded, SchemaTransformation.trim()));
|
|
7446
7446
|
};
|
|
7447
7447
|
const T3ProjectFileScript = Schema$1.Struct({
|
|
7448
|
-
name: trimmedNonEmpty({ description: "Display name for the script, shown in the
|
|
7449
|
-
command: trimmedNonEmpty({ description: "Shell command executed in
|
|
7448
|
+
name: trimmedNonEmpty({ description: "Display name for the script, shown in the AgentLink scripts menu." }),
|
|
7449
|
+
command: trimmedNonEmpty({ description: "Shell command executed in an AgentLink terminal at the project root." }),
|
|
7450
7450
|
icon: Schema$1.optionalKey(ProjectScriptIcon.annotate({ description: "Icon shown next to the script in the scripts menu. Defaults to \"play\"." })),
|
|
7451
7451
|
runOnWorktreeCreate: Schema$1.optionalKey(Schema$1.Boolean.annotate({ description: "When true, the script runs automatically after a worktree is created for a new thread." })),
|
|
7452
7452
|
previewUrl: Schema$1.optionalKey(trimmedNonEmpty({ description: "URL opened in the in-app browser preview when this script runs. Only honored on the desktop build." })),
|
|
7453
7453
|
autoOpenPreview: Schema$1.optionalKey(Schema$1.Boolean.annotate({ description: "When true, automatically open the preview panel at `previewUrl` the moment the script starts." }))
|
|
7454
|
-
}).annotate({ description: "A project script that team members can import into
|
|
7454
|
+
}).annotate({ description: "A project script that team members can import into AgentLink." });
|
|
7455
7455
|
const T3ProjectFile = Schema$1.Struct({
|
|
7456
7456
|
$schema: Schema$1.optionalKey(Schema$1.String.annotate({ description: `URL of the JSON Schema for this file, typically "${T3_PROJECT_FILE_SCHEMA_URL}".` })),
|
|
7457
|
-
iconPath: Schema$1.optionalKey(trimmedNonEmpty({ description: "Workspace-relative path to the project icon (e.g. \"assets/logo.svg\"). Checked before
|
|
7458
|
-
scripts: Schema$1.optionalKey(Schema$1.Array(T3ProjectFileScript).annotate({ description: "Project scripts shared with everyone who opens this repository in
|
|
7457
|
+
iconPath: Schema$1.optionalKey(trimmedNonEmpty({ description: "Workspace-relative path to the project icon (e.g. \"assets/logo.svg\"). Checked before AgentLink's built-in icon locations." }, T3_PROJECT_FILE_PATH_MAX_LENGTH)),
|
|
7458
|
+
scripts: Schema$1.optionalKey(Schema$1.Array(T3ProjectFileScript).annotate({ description: "Project scripts shared with everyone who opens this repository in AgentLink." }).check(Schema$1.isMaxLength(T3_PROJECT_FILE_MAX_SCRIPTS)))
|
|
7459
7459
|
}).annotate({
|
|
7460
7460
|
title: "T3 project file",
|
|
7461
|
-
description: "Checked-in project configuration for
|
|
7461
|
+
description: "Checked-in project configuration for AgentLink (t3.json at the repository root)."
|
|
7462
7462
|
});
|
|
7463
7463
|
//#endregion
|
|
7464
7464
|
//#region ../t3-contracts/src/project.ts
|
|
@@ -17921,15 +17921,7 @@ const renderTerminalQrCode = (value, margin = 2) => {
|
|
|
17921
17921
|
}
|
|
17922
17922
|
return rows.join("\n");
|
|
17923
17923
|
};
|
|
17924
|
-
const formatHeadlessServeOutput = (
|
|
17925
|
-
"T3 Code server is ready.",
|
|
17926
|
-
`Connection string: ${accessInfo.connectionString}`,
|
|
17927
|
-
`Token: ${accessInfo.token}`,
|
|
17928
|
-
`Pairing URL: ${accessInfo.pairingUrl}`,
|
|
17929
|
-
"",
|
|
17930
|
-
renderTerminalQrCode(accessInfo.pairingUrl),
|
|
17931
|
-
""
|
|
17932
|
-
].join("\n");
|
|
17924
|
+
const formatHeadlessServeOutput = (_accessInfo) => "AgentLink server is ready.\n";
|
|
17933
17925
|
const issueHeadlessServeAccessInfo = Effect.fn("issueHeadlessServeAccessInfo")(function* () {
|
|
17934
17926
|
const serverConfig = yield* ServerConfig;
|
|
17935
17927
|
const httpServer = yield* HttpServer.HttpServer;
|
|
@@ -68642,7 +68634,7 @@ const runServerCommand = (flags, options) => Effect.gen(function* () {
|
|
|
68642
68634
|
return yield* runServer.pipe(Effect.provideService(ServerConfig, config));
|
|
68643
68635
|
});
|
|
68644
68636
|
const startCommand = Command.make("start", { ...sharedServerCommandFlags }).pipe(Command.withDescription("Run the T3 Code server."), Command.withHandler((flags) => runServerCommand(flags)));
|
|
68645
|
-
const serveCommand = Command.make("serve", { ...sharedServerCommandFlags }).pipe(Command.withDescription("Run the T3 Code server without opening a browser
|
|
68637
|
+
const serveCommand = Command.make("serve", { ...sharedServerCommandFlags }).pipe(Command.withDescription("Run the T3 Code server without opening a browser."), Command.withHandler((flags) => runServerCommand(flags, {
|
|
68646
68638
|
startupPresentation: "headless",
|
|
68647
68639
|
forceAutoBootstrapProjectFromCwd: false
|
|
68648
68640
|
})));
|