@lark-codem/lark-cli 0.1.1-test.20261022.1 → 0.1.1-test.20261023.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -6,7 +6,7 @@ Install `@lark-codem/lark-cli` as an exact private dependency with optional depe
6
6
 
7
7
  The pinned official CLI owns personal commands, OAuth, profiles, user credentials, document formats, output and exit codes. With no task context, `CODEM_LARK_CLI_MODE=personal` (or unset) executes that CLI unchanged, including the host's managed UAT and `LARKSUITE_CLI_STRICT_MODE=user` environment.
8
8
 
9
- `CODEM_LARK_CLI_MODE=task`, a task token, dispatch ID or native sandbox marker selects the task boundary. `CODEM_TOKEN` and `CODEM_SANDBOX_DISPATCH_ID` (legacy `CODEM_DISPATCH_ID`) are both required; incomplete context fails before any business request. An explicit personal hint cannot downgrade an existing task. Task invocations isolate personal CLI config, ignore personal Lark credentials, use controlled placeholder credentials and send OpenAPI requests through the CodeM gateway. Gateway denial never falls back to personal auth. Sandbox business requests use the bot placeholder; Base executes with application TAT only. Sandbox calls never load, refresh or use a UAT. Base disables the calendar, meeting/minutes, whiteboard and user-identity helper capabilities in both sandbox scenes. Commands that require user credentials cannot run with the sandbox bot-only provider. Tag resource operations require Base to prove the initiator's permission under its configured policy; application access alone does not grant task access. Explicit `--as user`, app selection and personal profiles are rejected in task mode.
9
+ `CODEM_LARK_CLI_MODE=task`, a task token, dispatch ID or native sandbox marker selects the task boundary. `CODEM_TOKEN` and the current `CODEM_SANDBOX_DISPATCH_ID` (legacy `CODEM_DISPATCH_ID`) are both required. The CLI requests public scene metadata from Base through the same gateway: Tag resolves to the persisted initiator's user identity, while Meego AI nodes resolve to bot. No UAT, RT or application secret enters the CLI. Placeholder tokens are removed before forwarding; Base obtains the Tag initiator's server-owned Web UAT through UAT Keeper and preserves official API responses. Tag has no CodeM business capability allowlist; Feishu still enforces user scopes, resource permissions and each API's supported identities. AI-node requests retain the existing Base capability and work-item policy with TAT. Neither path falls back to personal profiles, device-owner credentials or another identity. Local credential/install management remains owned by the CodeM host. Deploy the context-capable Base before upgrading this CLI. Help and version stay offline. Dry runs resolve the same task identity as execution. Upstream may perform a read-only user-info lookup, but does not execute the previewed business operation.
10
10
 
11
11
  Personal and sandbox modes retain the pinned official business commands, parameters and help. The CLI does not consume the capability catalog, filter commands by scene, or rewrite business options. All sandbox scenes share the same functional Skills. Legacy `CODEM_LARK_TASK_SCENE` hints are ignored. Base independently resolves the persisted task scene and authorizes every logical request; a visible command does not grant permission. Official Skills are distributed separately as `@lark-codem/codem-larkcli-plugin` and a static plugin ZIP, loaded unchanged by the existing managed-resource loader in every scene. The sandbox plugin retains only Meegle work-item operations.
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-codem/lark-cli",
3
- "version": "0.1.1-test.20261022.1",
3
+ "version": "0.1.1-test.20261023.1",
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.20261022.1",
24
- "@lark-codem/lark-cli-darwin-arm64": "0.1.1-test.20261022.1",
25
- "@lark-codem/lark-cli-linux-x64": "0.1.1-test.20261022.1",
26
- "@lark-codem/lark-cli-linux-arm64": "0.1.1-test.20261022.1",
27
- "@lark-codem/lark-cli-win32-x64": "0.1.1-test.20261022.1",
28
- "@lark-codem/lark-cli-win32-arm64": "0.1.1-test.20261022.1"
23
+ "@lark-codem/lark-cli-darwin-x64": "0.1.1-test.20261023.1",
24
+ "@lark-codem/lark-cli-darwin-arm64": "0.1.1-test.20261023.1",
25
+ "@lark-codem/lark-cli-linux-x64": "0.1.1-test.20261023.1",
26
+ "@lark-codem/lark-cli-linux-arm64": "0.1.1-test.20261023.1",
27
+ "@lark-codem/lark-cli-win32-x64": "0.1.1-test.20261023.1",
28
+ "@lark-codem/lark-cli-win32-arm64": "0.1.1-test.20261023.1"
29
29
  },
30
30
  "engines": {
31
31
  "node": ">=18"