@lark-codem/lark-cli 0.1.1-test.20261023.1 → 0.1.1-test.20261024.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/README.md +6 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -18,6 +18,12 @@ The default command does not publish. Explicit `--publish` publishes the exact p
|
|
|
18
18
|
|
|
19
19
|
Sandbox local auth/config/skills management is disabled because it does not pass through Base. The official self-update command and upstream update/skills notices are disabled. Upgrade this distribution through the CodeM installer or host so the custom task boundary remains installed. All personal business and auth commands retain the official implementation.
|
|
20
20
|
|
|
21
|
+
Task-mode error hints follow the same identity boundary. Missing Tag user scopes require the current initiator's CodeM authorization; missing application scopes require an application maintainer, and resource denials require resource access. Generic upstream suggestions to change local identity policy or log in inside the sandbox are replaced in structured stderr errors. Error codes, missing scopes, request IDs, other machine fields, exit codes, successful output and live stderr diagnostics are preserved. No authorization URL is fabricated and no request is retried. Personal-mode recovery stays upstream.
|
|
22
|
+
|
|
21
23
|
Native Linux fixture and installed-tarball tests verify protocol and packaging. Builds use CGO_ENABLED=0, -trimpath and -buildvcs=false; native manifests identify the exact executable bytes. Cross-compilation does not substitute for macOS and Windows native execution checks.
|
|
22
24
|
|
|
23
25
|
On local installations the dependency lives inside the selected CodeM version under `~/.codem/runtime/versions/`; sandbox images use their private runtime directory. Installation and update never uninstall or relink a user-owned global `lark-cli`. Existing published versions remain immutable; the no-bin contract applies when a new version is released.
|
|
26
|
+
|
|
27
|
+
Tag task authorization is checked during the existing `/codem/lark-cli/context` handshake, before a business request is constructed. A missing server grant returns a public `_codem_authorization` object (kind `server_user_authorization`, status `authorization_required`). The CLI emits that object to stdout and exits nonzero; the host displays its opaque CodeM short link and stops the turn. No token, personal profile or callback URL is read or persisted by this path. Malformed invitations, dependency failures and generic 403 responses never become authorization links.
|
|
28
|
+
|
|
29
|
+
After the initiator confirms completion, run exactly `lark-cli whoami` in the same task. For Tag this checks Base's keeper directly and reports identity `user` with `_codem_authorization.status=ready`, without an extra user-info API or replaying the blocked operation. If the grant is still absent, the new check may create a fresh invitation; display the current link and stop rather than polling. AI-node identity and capability policy are unchanged. Deploy the context authorization support in Base !2126 first, then release this adapter and the paired Bridge !709 instructions. Existing package versions remain immutable.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-codem/lark-cli",
|
|
3
|
-
"version": "0.1.1-test.
|
|
3
|
+
"version": "0.1.1-test.20261024.2",
|
|
4
4
|
"description": "Official Lark CLI with CodeM personal and task credential boundaries.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"test:package": "node scripts/test-package.mjs"
|
|
21
21
|
},
|
|
22
22
|
"optionalDependencies": {
|
|
23
|
-
"@lark-codem/lark-cli-darwin-x64": "0.1.1-test.
|
|
24
|
-
"@lark-codem/lark-cli-darwin-arm64": "0.1.1-test.
|
|
25
|
-
"@lark-codem/lark-cli-linux-x64": "0.1.1-test.
|
|
26
|
-
"@lark-codem/lark-cli-linux-arm64": "0.1.1-test.
|
|
27
|
-
"@lark-codem/lark-cli-win32-x64": "0.1.1-test.
|
|
28
|
-
"@lark-codem/lark-cli-win32-arm64": "0.1.1-test.
|
|
23
|
+
"@lark-codem/lark-cli-darwin-x64": "0.1.1-test.20261024.2",
|
|
24
|
+
"@lark-codem/lark-cli-darwin-arm64": "0.1.1-test.20261024.2",
|
|
25
|
+
"@lark-codem/lark-cli-linux-x64": "0.1.1-test.20261024.2",
|
|
26
|
+
"@lark-codem/lark-cli-linux-arm64": "0.1.1-test.20261024.2",
|
|
27
|
+
"@lark-codem/lark-cli-win32-x64": "0.1.1-test.20261024.2",
|
|
28
|
+
"@lark-codem/lark-cli-win32-arm64": "0.1.1-test.20261024.2"
|
|
29
29
|
},
|
|
30
30
|
"engines": {
|
|
31
31
|
"node": ">=18"
|