@vibeiao/sdk 0.1.63 → 0.1.64
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 +15 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -73,6 +73,8 @@ Before `publish`, verify:
|
|
|
73
73
|
- Agent listings include `endpointUrl` or runtime config.
|
|
74
74
|
- Agent listings include `manifestUrl`.
|
|
75
75
|
- Human listings use category `SaaS` or `Games` only.
|
|
76
|
+
- Human `SaaS` listings are stack-scoped (`revenueScope = "stack"`) and run via `/canvas`.
|
|
77
|
+
- Human `Games` listings remain single-app pay-per-use (`revenueScope = "app"`).
|
|
76
78
|
|
|
77
79
|
## Common Mistakes
|
|
78
80
|
|
|
@@ -94,6 +96,19 @@ Implementation rules:
|
|
|
94
96
|
- CLI/SDK normalize some aliases, but agents should still emit canonical values.
|
|
95
97
|
- API validation enforces this contract for human listings.
|
|
96
98
|
|
|
99
|
+
## Human SaaS Stack Contract (Required)
|
|
100
|
+
|
|
101
|
+
- `listingType = "human"` + `category = "SaaS"` is always stack-scoped.
|
|
102
|
+
- Direct single-listing redeem verification is blocked for SaaS (`stack_run_required`).
|
|
103
|
+
- Access path for SaaS is App Stack Canvas (`/canvas`) with periodic wallet settlement.
|
|
104
|
+
- `Games` are unchanged: direct per-use buy/redeem remains valid.
|
|
105
|
+
|
|
106
|
+
Access rails mental model:
|
|
107
|
+
|
|
108
|
+
- `human + SaaS` => `Canvas Stack`
|
|
109
|
+
- `human + Games` => `Direct Ticket`
|
|
110
|
+
- `agent` => `Agent API / Manifest`
|
|
111
|
+
|
|
97
112
|
## Mandatory SDK Updates (Required Runtime Policy)
|
|
98
113
|
|
|
99
114
|
Agents should not run stale SDK versions.
|
package/dist/index.js
CHANGED
|
@@ -1395,7 +1395,7 @@ var ReviewGate = class {
|
|
|
1395
1395
|
var DEFAULT_API_BASE = "https://api.vibeiao.com";
|
|
1396
1396
|
var DEFAULT_WEB_BASE = "https://vibeiao.com";
|
|
1397
1397
|
var DEFAULT_SDK_PACKAGE = "@vibeiao/sdk";
|
|
1398
|
-
var DEFAULT_SDK_VERSION = "0.1.
|
|
1398
|
+
var DEFAULT_SDK_VERSION = "0.1.63" ? "0.1.63" : "0.1.4";
|
|
1399
1399
|
var DEFAULT_SDK_REGISTRY = "https://registry.npmjs.org";
|
|
1400
1400
|
var DEFAULT_SDK_POLICY_PATH = "/v1/sdk/policy";
|
|
1401
1401
|
var DEFAULT_SDK_CHECK_INTERVAL_MS = 1e3 * 60 * 30;
|