@withandeo/cli 0.19.17 → 0.19.19
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/README.md +17 -0
- package/dist/cloud-agent.d.ts +5 -0
- package/dist/cloud-agent.d.ts.map +1 -1
- package/dist/cloud-agent.js +41 -5
- package/dist/cloud-agent.js.map +1 -1
- package/dist/contracts.d.ts +1 -0
- package/dist/contracts.d.ts.map +1 -1
- package/dist/main.js +18 -2
- package/dist/main.js.map +1 -1
- package/dist/workflow-coordinator.d.ts.map +1 -1
- package/dist/workflow-coordinator.js +3 -2
- package/dist/workflow-coordinator.js.map +1 -1
- package/dist/workflow-dev.js +1 -1
- package/dist/workflow-dev.js.map +1 -1
- package/package.json +3 -3
- package/skill/publication.json +1 -1
- package/skill/tender-accounts/SKILL.md +5 -2
- package/skill/tender-accounts/references/delivery.md +1 -1
- package/skill/tender-accounts/references/email.md +2 -0
- package/skill/tender-accounts/references/managed-source.md +28 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-coordinator.d.ts","sourceRoot":"","sources":["../src/workflow-coordinator.ts"],"names":[],"mappings":"AAAA;qEACqE;AACrE,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"workflow-coordinator.d.ts","sourceRoot":"","sources":["../src/workflow-coordinator.ts"],"names":[],"mappings":"AAAA;qEACqE;AACrE,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,MAAM,CA8CvF"}
|
|
@@ -14,12 +14,13 @@ export class AndeoCoordinator extends WorkerEntrypoint {
|
|
|
14
14
|
|| (options?.retries && typeof options.retries.delay === "function")) throw new Error("app_workflow_step_options_unsupported");
|
|
15
15
|
const execute = async nativeContext => context.run({ native: nativeContext, call: 0 }, async () => {
|
|
16
16
|
await runtime.observeStep?.(nativeContext, "started").catch(() => undefined);
|
|
17
|
+
const startedAt = Date.now();
|
|
17
18
|
try {
|
|
18
19
|
const result = await callback(nativeContext);
|
|
19
|
-
await runtime.observeStep?.(nativeContext, "completed").catch(() => undefined);
|
|
20
|
+
await runtime.observeStep?.(nativeContext, "completed", Date.now() - startedAt).catch(() => undefined);
|
|
20
21
|
return result;
|
|
21
22
|
} catch (error) {
|
|
22
|
-
await runtime.observeStep?.(nativeContext, "errored").catch(() => undefined);
|
|
23
|
+
await runtime.observeStep?.(nativeContext, "errored", Date.now() - startedAt).catch(() => undefined);
|
|
23
24
|
throw error;
|
|
24
25
|
}
|
|
25
26
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-coordinator.js","sourceRoot":"","sources":["../src/workflow-coordinator.ts"],"names":[],"mappings":"AAAA;qEACqE;AACrE,MAAM,UAAU,yBAAyB,CAAC,SAAiB,EAAE,QAAkB;IAC7E,OAAO;;WAEE,SAAS
|
|
1
|
+
{"version":3,"file":"workflow-coordinator.js","sourceRoot":"","sources":["../src/workflow-coordinator.ts"],"names":[],"mappings":"AAAA;qEACqE;AACrE,MAAM,UAAU,yBAAyB,CAAC,SAAiB,EAAE,QAAkB;IAC7E,OAAO;;WAEE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;yBA4BK,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;CAchD,CAAC;AACF,CAAC"}
|
package/dist/workflow-dev.js
CHANGED
|
@@ -31,7 +31,7 @@ export async function startWorkflowDev(root, directory, port = 8787) {
|
|
|
31
31
|
throw new Error("app_workflow_dev_service_missing");
|
|
32
32
|
}
|
|
33
33
|
const worker = (name, env, source, compatibilityDate, assets) => ({ config: {
|
|
34
|
-
|
|
34
|
+
name, compatibilityDate, compatibilityFlags: ["nodejs_compat"], env,
|
|
35
35
|
manifest: { mainModule: "index.mjs", modulesRoot: root, modules: { "index.mjs": { type: "esm", contents: source } } },
|
|
36
36
|
...(assets ? { assets: { directory: assets, runWorkerFirst: true, hasUserWorker: true } } : {}),
|
|
37
37
|
} });
|
package/dist/workflow-dev.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-dev.js","sourceRoot":"","sources":["../src/workflow-dev.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAsB,MAAM,WAAW,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAI7D;mFACmF;AACnF,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAAC,IAAY,EAAE,SAAiB,EAAE,IAAI,GAAG,IAAI;IACjF,MAAM,QAAQ,GAAG,MAAM,cAAc,CAAC,SAAS,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC;IACnG,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;IACrE,IAAI,QAAQ,GAA0B,EAAE,CAAC;IACzC,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC;QAC9B,IAAI,KAAc,CAAC;QAC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CAAC;AACtG,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@withandeo/cli",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.19",
|
|
4
4
|
"description": "Developer CLI for Andeo applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -32,13 +32,13 @@
|
|
|
32
32
|
"@types/node": "^26.2.0",
|
|
33
33
|
"@types/semver": "^7.8.0",
|
|
34
34
|
"typescript": "^7.0.2",
|
|
35
|
-
"vitest": "^4.1.
|
|
35
|
+
"vitest": "^4.1.12"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@cloudflare/dynamic-workflows": "0.1.1",
|
|
39
39
|
"esbuild": "0.28.1",
|
|
40
40
|
"jsonc-parser": "3.3.1",
|
|
41
|
-
"miniflare": "5.
|
|
41
|
+
"miniflare": "5.20261023.0-beta",
|
|
42
42
|
"semver": "^7.8.5",
|
|
43
43
|
"smol-toml": "1.9.0"
|
|
44
44
|
},
|
package/skill/publication.json
CHANGED
|
@@ -95,8 +95,11 @@ requires explicit `preview.build`/`preview.open`, repository scope and the
|
|
|
95
95
|
`andeo preview --json`: Andeo builds that exact managed source in its isolated
|
|
96
96
|
builder. Unsupported bindings/test graphs must fail; do not upload a local
|
|
97
97
|
artifact or bypass the isolation gate. Reopen with the returned `sbl_` ID while
|
|
98
|
-
the run and derived preview remain authorized.
|
|
99
|
-
|
|
98
|
+
the run and derived preview remain authorized. After expiry, use
|
|
99
|
+
`andeo source continue --change scr_... --json` to admit a fresh run of the same
|
|
100
|
+
agent, grant and installation on the original branch/change. Read the managed-source
|
|
101
|
+
reference for handoff blockers and recovery. Create a fresh exact preview when
|
|
102
|
+
needed; old tokens, preview grants and operation deadlines are never extended.
|
|
100
103
|
|
|
101
104
|
With explicitly enrolled `preview.share`, the same preview command automatically
|
|
102
105
|
resolves the published gateway and returns a separately revocable handoff lasting
|
|
@@ -44,7 +44,7 @@ evidence. Continue to honor explicit production approval from the user.
|
|
|
44
44
|
Persistent Codex Cloud agents use a managed-source broker instead of the local
|
|
45
45
|
artifact upload path. Check current `preview.build` and `preview.open`, explicit
|
|
46
46
|
repository scope, and `environments: ["preview"]`. Commit, validate locally and
|
|
47
|
-
push
|
|
47
|
+
push `assignedFeatureBranch` from `source status`, then use `andeo preview --json`.
|
|
48
48
|
Andeo checks the exact pushed SHA and executes checkout/build in separate
|
|
49
49
|
credentialed and isolated phases. The first supported profile uses stateless
|
|
50
50
|
fixtures; D1/KV/R2, services, secrets, workflows, database bootstrap and Flagship
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Email identities and prepared test accounts
|
|
2
2
|
|
|
3
|
+
Persistent Cloud agents require an explicitly selected `email.read` grant. In Persistent agents, enable **Read all merchant inboxes, including QA sign-in emails**, confirm the replacement grant, and update the Cloud environment's bootstrap. If the environment still sets optional `ANDEO_AGENT_SCOPE`, remove it to inherit the renewed grant scope, or include `email.read` in the explicit narrower scope. This permits listing, cursors, messages, reading and waiting across all inboxes in that merchant, even when only one app is selected. It does not permit creating or retiring inboxes. Existing grants do not acquire this capability automatically.
|
|
4
|
+
|
|
3
5
|
Use `andeo email capabilities --json` to inspect `enabled`, `tenantId`, and `permissions`. Email is receive-only and belongs to the merchant, shared across all its apps. Developer access to any app in that merchant grants access to all its inboxes, even for an agent scoped to only one app. Viewers cannot read mail. A tenant member and an authorized agent use the same inboxes through the merchant Email section or CLI. Select the merchant with its login `--profile`; optional `--tenant tn_...` checks that the profile belongs to the intended merchant.
|
|
4
6
|
|
|
5
7
|
## Reuse an identity prepared by a person
|
|
@@ -5,14 +5,29 @@
|
|
|
5
5
|
Persistent Cloud runs use explicitly granted `source.merge` on their assigned
|
|
6
6
|
repository/branch. Include `review.prepare` to create the implicit exact review.
|
|
7
7
|
After pushing and verifying the isolated preview, request merge with the same
|
|
8
|
-
command below using `
|
|
8
|
+
command below using `assignedFeatureBranch` from `source status` as the head. The capability delegates source
|
|
9
9
|
approval without a per-change human receipt or legacy principal allowlist.
|
|
10
10
|
Protected transport and successful exact preview/checks remain required.
|
|
11
11
|
Inspect `capabilities`, `source status` and `source merge-policy show`;
|
|
12
12
|
persistent actors cannot edit merge/publication policy to expand permission. Existing saved
|
|
13
13
|
publication policy controls deployment after landing. Do not push main directly.
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
After run expiry, use `andeo source continue --change scr_... --json` to obtain
|
|
15
|
+
fresh bounded authority on the original branch and change. Use it in the same
|
|
16
|
+
private state directory after expiry, or as the first authenticated command in a
|
|
17
|
+
fresh task. The same agent, grant and installation retain the change number and
|
|
18
|
+
review history. Before a change exists, use `--work asw_...` with `sourceWorkId`
|
|
19
|
+
from `source status`. Normal bootstrap rotation within that installation works.
|
|
20
|
+
A live writer, retained/uncertain source mutation, landing or terminal change
|
|
21
|
+
blocks the handoff. Inspect and settle the original operation before retrying.
|
|
22
|
+
Different installations and revoked access cannot inherit this work.
|
|
23
|
+
|
|
24
|
+
Read `assignedFeatureBranch` from `source status`: continued branches keep their
|
|
25
|
+
original name. Push, preview and refresh that branch with the existing commands.
|
|
26
|
+
Continuation alone changes no source or review snapshot; changed refs still
|
|
27
|
+
invalidate approval. A replacement preview for unchanged source also creates a
|
|
28
|
+
new review snapshot and requires fresh approval for its new validation evidence.
|
|
29
|
+
Old tokens, preview grants and accepted operation deadlines
|
|
30
|
+
stay fixed. Create a fresh exact preview under the new run when needed.
|
|
16
31
|
|
|
17
32
|
On a managed repository, push the committed feature branch and verify its exact
|
|
18
33
|
native preview, then request one hosted merge. Read `capabilities`,
|
|
@@ -273,8 +288,16 @@ stated remediation and a newly reviewed request instead.
|
|
|
273
288
|
For reviewed repositories, a moved head invalidates the previous approval and
|
|
274
289
|
the newest source build becomes the next exact snapshot. A moved base makes the
|
|
275
290
|
change stale. Rebase or update the feature branch, push a new committed
|
|
276
|
-
revision,
|
|
277
|
-
|
|
291
|
+
revision, then rerun `source change create --head BRANCH --title TITLE --json`.
|
|
292
|
+
The command refreshes the existing open change for that base/head branch pair:
|
|
293
|
+
its ID, number, title, description and history remain, while the current base/head
|
|
294
|
+
SHAs become a new snapshot and any previous approval is invalidated. Repeating
|
|
295
|
+
the command with unchanged refs preserves the snapshot and approval. A change
|
|
296
|
+
already landing cannot be refreshed. Do not close a stale change just to update
|
|
297
|
+
its base. Wait for the exact head preview, then have the administrator review
|
|
298
|
+
and approve the refreshed snapshot. Closed or landed changes remain terminal;
|
|
299
|
+
creating another review for their branch opens a new change.
|
|
300
|
+
Source landing never calls the production publisher directly;
|
|
278
301
|
after landing, the repository's already configured default-branch policy may
|
|
279
302
|
publish the same artifact after its exact preview and production validation succeed.
|
|
280
303
|
|