@native-marketing/cli 0.1.1 → 0.2.0

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 CHANGED
@@ -19,7 +19,7 @@ cf capabilities find '当前定位' --profile marketing --json
19
19
 
20
20
  Request the scopes needed for your authorized work. A project code or profile name does not grant access. Credentials are stored owner-only in `~/.config/content-factory-agent/` unless `CF_AGENT_CONFIG_DIR` is set. Never pass a token as a command argument. `auth import --token-file` accepts a protected local file; it does not exchange AgentStack API keys for Native OAuth.
21
21
 
22
- Help is layered: `help`, `help <group>`, `help all`. Discovery returns only currently visible capabilities; exact input schema is loaded on demand. `search` finds saved content. Supply exact business inputs through stdin or `--input-file`, keeping schema/view controls separate. Business writes require the existing request ID, concurrency checks and human authorization.
22
+ Help is layered: `help`, `help <group>`, `help all`. `capabilities find` uses AGENT_V3 bilingual action/object matching, returns only currently visible capabilities and reports scoped NO_MATCH explicitly. Small definitions include their schema and fingerprint; larger definitions are loaded on demand. `search` finds saved content. Supply exact business inputs through stdin or `--input-file`, keeping schema/view controls separate. Business writes require the existing request ID, concurrency checks and human authorization. Native Marketing exports content and records manual publication; it does not publish to external platforms.
23
23
 
24
24
  `--json` returns one JSON envelope on stdout; OAuth interaction prompts go to stderr. Errors carry code, outcome and safe recovery details. UNKNOWN means the original write may have happened: query its original read-only receipt before deciding what to do. The CLI never automatically replays an unknown write. A receipt is the original result; reread current state separately. A lost write permission may still allow authorized receipt recovery, but cannot authorize a new write.
25
25
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@native-marketing/cli",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "engines": {
@@ -36,6 +36,6 @@
36
36
  }
37
37
  },
38
38
  "dependencies": {
39
- "@native-marketing/sdk": "0.1.1"
39
+ "@native-marketing/sdk": "0.2.0"
40
40
  }
41
41
  }
package/release.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
- "sourceCommit": "d5c864b995aaa63230e895df3d7cbe50d4947202",
2
+ "sourceCommit": "351676c470fe22c510ee38fe9c3e6032de241407",
3
3
  "workingTreeDirty": false,
4
- "version": "0.1.1",
4
+ "version": "0.2.0",
5
5
  "openapiTypesSha256": "ab00b08c6f94b2b39d7f4010de2335d70be26e7987e9db6dc57fa308426aecc4",
6
6
  "localBuild": true
7
7
  }