@assemblyline-agents/cli 5.0.10 → 6.0.1
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/authoring/skills/assembly-line-authoring/SKILL.md +24 -21
- package/dist/add.d.ts +2 -13
- package/dist/add.d.ts.map +1 -1
- package/dist/add.js +169 -478
- package/dist/add.js.map +1 -1
- package/dist/args.d.ts.map +1 -1
- package/dist/args.js +1 -2
- package/dist/args.js.map +1 -1
- package/dist/auth.d.ts +1 -2
- package/dist/auth.d.ts.map +1 -1
- package/dist/auth.js +38 -45
- package/dist/auth.js.map +1 -1
- package/dist/channels.d.ts +7 -30
- package/dist/channels.d.ts.map +1 -1
- package/dist/channels.js +21 -161
- package/dist/channels.js.map +1 -1
- package/dist/deploy-definition.d.ts +1 -8
- package/dist/deploy-definition.d.ts.map +1 -1
- package/dist/deploy-definition.js +18 -66
- package/dist/deploy-definition.js.map +1 -1
- package/dist/deploy-migrations.d.ts +15 -0
- package/dist/deploy-migrations.d.ts.map +1 -0
- package/dist/deploy-migrations.js +72 -0
- package/dist/deploy-migrations.js.map +1 -0
- package/dist/deploy-preflight.d.ts +6 -0
- package/dist/deploy-preflight.d.ts.map +1 -0
- package/dist/deploy-preflight.js +40 -0
- package/dist/deploy-preflight.js.map +1 -0
- package/dist/deploy-receipts.d.ts +9 -0
- package/dist/deploy-receipts.d.ts.map +1 -0
- package/dist/deploy-receipts.js +45 -0
- package/dist/deploy-receipts.js.map +1 -0
- package/dist/deploy-sandbox-environments.d.ts +6 -0
- package/dist/deploy-sandbox-environments.d.ts.map +1 -0
- package/dist/deploy-sandbox-environments.js +109 -0
- package/dist/deploy-sandbox-environments.js.map +1 -0
- package/dist/deploy-secrets.d.ts +21 -0
- package/dist/deploy-secrets.d.ts.map +1 -0
- package/dist/deploy-secrets.js +83 -0
- package/dist/deploy-secrets.js.map +1 -0
- package/dist/deploy.d.ts +5 -31
- package/dist/deploy.d.ts.map +1 -1
- package/dist/deploy.js +50 -636
- package/dist/deploy.js.map +1 -1
- package/dist/eval-case-runner.d.ts +1 -1
- package/dist/eval-case-runner.d.ts.map +1 -1
- package/dist/eval-case-runner.js.map +1 -1
- package/dist/help.d.ts.map +1 -1
- package/dist/help.js +41 -89
- package/dist/help.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +89 -32
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +1 -3
- package/dist/init.d.ts.map +1 -1
- package/dist/init.js +36 -39
- package/dist/init.js.map +1 -1
- package/dist/inspection.d.ts +44 -0
- package/dist/inspection.d.ts.map +1 -0
- package/dist/inspection.js +144 -0
- package/dist/inspection.js.map +1 -0
- package/dist/models.d.ts +2 -1
- package/dist/models.d.ts.map +1 -1
- package/dist/models.js +7 -13
- package/dist/models.js.map +1 -1
- package/dist/plugin-add.d.ts +36 -0
- package/dist/plugin-add.d.ts.map +1 -0
- package/dist/plugin-add.js +283 -0
- package/dist/plugin-add.js.map +1 -0
- package/dist/plugin-init.d.ts +2 -0
- package/dist/plugin-init.d.ts.map +1 -0
- package/dist/plugin-init.js +34 -0
- package/dist/plugin-init.js.map +1 -0
- package/dist/provider-deploy.d.ts +7 -0
- package/dist/provider-deploy.d.ts.map +1 -0
- package/dist/provider-deploy.js +163 -0
- package/dist/provider-deploy.js.map +1 -0
- package/dist/secrets.d.ts.map +1 -1
- package/dist/secrets.js +8 -28
- package/dist/secrets.js.map +1 -1
- package/package.json +9 -11
- package/dist/hosts.d.ts +0 -3
- package/dist/hosts.d.ts.map +0 -1
- package/dist/hosts.js +0 -60
- package/dist/hosts.js.map +0 -1
- package/dist/model-providers.d.ts +0 -5
- package/dist/model-providers.d.ts.map +0 -1
- package/dist/model-providers.js +0 -17
- package/dist/model-providers.js.map +0 -1
- package/dist/state.d.ts +0 -3
- package/dist/state.d.ts.map +0 -1
- package/dist/state.js +0 -79
- package/dist/state.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: assembly-line-authoring
|
|
3
|
-
description: Build, modify, validate, test, or deploy Assembly Line agents
|
|
3
|
+
description: Build, modify, validate, test, or deploy Assembly Line MD-first agents, plugins, skills, channels, automations, subagents, and deployment configuration.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Assembly Line Authoring
|
|
@@ -42,9 +42,9 @@ every optional directory up front.
|
|
|
42
42
|
## Authoring workflow
|
|
43
43
|
|
|
44
44
|
1. Locate the agent root. If it does not exist, confirm the target path and run
|
|
45
|
-
`assembly-line init <agentRoot>`. Read
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
`assembly-line init <agentRoot>`. Read `agent.md`, `plugins.lock`, root
|
|
46
|
+
skills, and only the selected plugin/channel/subagent files relevant to the
|
|
47
|
+
request.
|
|
48
48
|
2. Run `assembly-line docs version --json`. If the binary is not on `PATH`,
|
|
49
49
|
invoke the project-local binary through its package manager, such as
|
|
50
50
|
`pnpm exec assembly-line` or `npm exec -- assembly-line`.
|
|
@@ -52,8 +52,8 @@ every optional directory up front.
|
|
|
52
52
|
page or section with `assembly-line docs read <id[#anchor]>`. Use
|
|
53
53
|
`--latest` only for an explicit upgrade, a new capability unavailable in the
|
|
54
54
|
project version, or a request for current behavior.
|
|
55
|
-
4. Before hand-writing a provider integration, search the installed plugin
|
|
56
|
-
|
|
55
|
+
4. Before hand-writing a provider integration, search the installed plugin
|
|
56
|
+
docs. Use `--latest` to check whether a newer framework release
|
|
57
57
|
supplies the capability, then inspect the upgrade rather than copying its
|
|
58
58
|
current API into an older project.
|
|
59
59
|
5. Make the smallest coherent change. Keep orchestration, persistence,
|
|
@@ -61,8 +61,8 @@ every optional directory up front.
|
|
|
61
61
|
generated `.assembly-line/` artifacts.
|
|
62
62
|
6. Run `assembly-line validate <agentRoot> --json`. Follow the diagnostic's
|
|
63
63
|
`docs` link and `fix` hint before searching broadly.
|
|
64
|
-
7. Run `assembly-line capabilities <agentRoot>`
|
|
65
|
-
|
|
64
|
+
7. Run `assembly-line capabilities <agentRoot>` and resolved inspection when
|
|
65
|
+
plugins, skills, channels, infrastructure, automations, or subagents changed. Run the narrowest relevant build, test,
|
|
66
66
|
or eval; use `assembly-line build` for packaging changes and
|
|
67
67
|
`assembly-line eval` for behavior changes with an existing eval suite.
|
|
68
68
|
8. Exercise one representative request through the same channel or runtime path
|
|
@@ -71,19 +71,20 @@ every optional directory up front.
|
|
|
71
71
|
|
|
72
72
|
## File routing
|
|
73
73
|
|
|
74
|
-
- Put
|
|
75
|
-
|
|
76
|
-
in `
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
- Put
|
|
74
|
+
- Put identity, static policy, trusted guidance, explicit channels,
|
|
75
|
+
infrastructure profiles, plugin selections, automations, composition, and
|
|
76
|
+
subagents in `agent.md`.
|
|
77
|
+
- Root `skills/<name>/SKILL.md` folders are auto-discovered and may carry
|
|
78
|
+
`references/`, `scripts/`, `schemas/`, and `assets/` resources.
|
|
79
|
+
- Published plugins are selected by stable ID and pinned in `plugins.lock`.
|
|
80
|
+
Local plugins are auto-discovered under `plugins/<name>/` when they contain
|
|
81
|
+
an Agent Plugins v1 `plugin.json` and `ai.assemblyline/` entry.
|
|
82
|
+
- Plugin-owned tools, connections, channel providers, infrastructure
|
|
83
|
+
providers, and lifecycle hook implementations are activated through the
|
|
84
|
+
plugin contract. Do not create root `tools/`, `hooks/`, or `connections/`
|
|
85
|
+
folders.
|
|
86
|
+
- Put schedules and event-triggered work inline in `agent.md`; use a
|
|
87
|
+
plugin-owned implementation when lifecycle behavior becomes real code.
|
|
87
88
|
- Put production behavior checks in `evals/` and keep fixtures deterministic.
|
|
88
89
|
|
|
89
90
|
## Guardrails
|
|
@@ -96,6 +97,8 @@ every optional directory up front.
|
|
|
96
97
|
generated examples.
|
|
97
98
|
- Preserve explicit provider, model, deployment, and approval choices unless
|
|
98
99
|
the request changes them.
|
|
100
|
+
- Treat `plugins.lock` as source: never accept an unpinned, ambiguous, or
|
|
101
|
+
integrity-drifted plugin.
|
|
99
102
|
- Do not overwrite existing coding-agent instructions or skills without an
|
|
100
103
|
explicit update operation.
|
|
101
104
|
- Treat skill bundle resource files as data: bundled scripts are files the
|
package/dist/add.d.ts
CHANGED
|
@@ -1,27 +1,16 @@
|
|
|
1
|
-
import { type AdapterProviderMetadata, type ToolPackPluginMetadata } from "@assemblyline-agents/core";
|
|
2
|
-
/**
|
|
3
|
-
* `assembly-line add <kind|package>` — install a plugin package and wire its provider
|
|
4
|
-
* contribution into the agent folder (gateway slot or channel file).
|
|
5
|
-
* File edits are targeted string surgery; when a file cannot be edited with
|
|
6
|
-
* confidence the exact snippet is printed instead so files are never corrupted.
|
|
7
|
-
*/
|
|
8
1
|
export interface AddCommandOptions {
|
|
9
2
|
thing: string;
|
|
10
3
|
agentRoot: string;
|
|
11
4
|
role?: string | undefined;
|
|
12
5
|
pmOverride?: string | undefined;
|
|
13
|
-
/** false with --no-install: print the install command instead of running it. */
|
|
14
6
|
install: boolean;
|
|
7
|
+
confirmUpgrade?: boolean;
|
|
15
8
|
runCommand(command: string, args: string[], options?: {
|
|
16
9
|
cwd?: string;
|
|
17
10
|
}): Promise<{
|
|
18
11
|
exitCode: number;
|
|
19
12
|
}>;
|
|
20
13
|
}
|
|
21
|
-
|
|
14
|
+
/** Install, inspect, lock, and select a plugin using only its own declaration. */
|
|
22
15
|
export declare function runAddCommand(options: AddCommandOptions): Promise<void>;
|
|
23
|
-
export declare function copyPluginSkills(metadata: AddContributionMetadata, agentRoot: string, installDir: string): string[];
|
|
24
|
-
/** The default gateway scaffold shared by `assembly-line init` and `assembly-line add`. */
|
|
25
|
-
export declare function gatewayScaffoldSource(overrides?: Record<string, string>): string;
|
|
26
|
-
export {};
|
|
27
16
|
//# sourceMappingURL=add.d.ts.map
|
package/dist/add.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../src/add.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../src/add.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,OAAO,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACxG;AASD,kFAAkF;AAClF,wBAAsB,aAAa,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,CA8B7E"}
|