@lucern/sdk 0.3.0-alpha.14 → 0.3.0-alpha.15
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 +8 -0
- package/dist/beliefs/index.js +3 -1
- package/dist/beliefs/index.js.map +1 -1
- package/dist/client.d.ts +2 -2
- package/dist/client.js +3 -1
- package/dist/client.js.map +1 -1
- package/dist/contradictions/index.js +3 -1
- package/dist/contradictions/index.js.map +1 -1
- package/dist/decisions/index.js +3 -1
- package/dist/decisions/index.js.map +1 -1
- package/dist/edges/index.js +3 -1
- package/dist/edges/index.js.map +1 -1
- package/dist/evidence/index.js +3 -1
- package/dist/evidence/index.js.map +1 -1
- package/dist/gatewayFacades.d.ts +2 -0
- package/dist/gatewayFacades.js +2 -0
- package/dist/gatewayFacades.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/lenses/index.js +3 -1
- package/dist/lenses/index.js.map +1 -1
- package/dist/nodes/index.js +3 -1
- package/dist/nodes/index.js.map +1 -1
- package/dist/ontologies/index.js +3 -1
- package/dist/ontologies/index.js.map +1 -1
- package/dist/questions/index.js +3 -1
- package/dist/questions/index.js.map +1 -1
- package/dist/secrets.d.ts +1 -1
- package/dist/secrets.js +1 -1
- package/dist/topics/index.js +3 -1
- package/dist/topics/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/dist/workflowClient.d.ts +2 -0
- package/dist/workflowClient.js.map +1 -1
- package/dist/worktrees/index.js +3 -1
- package/dist/worktrees/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -42,6 +42,9 @@ code should stay on `@lucern/sdk`, `@lucern/react`, `@lucern/mcp`,
|
|
|
42
42
|
- Build applications, automations, and backend integrations against the SDK first.
|
|
43
43
|
- Treat `/api/platform/v1/*` as the transport mirror of the SDK surface.
|
|
44
44
|
- Treat MCP as an agent-facing client of the same surface, not as a privileged bypass around SDK or HTTP semantics.
|
|
45
|
+
- Treat REST, SDK, CLI, and MCP as projections of the same manifest. New
|
|
46
|
+
control-plane operations must be added to the manifest first, then exposed
|
|
47
|
+
through the generated surfaces.
|
|
45
48
|
|
|
46
49
|
IA-7 closes the remaining SDK surface gaps needed for SDK-first clients:
|
|
47
50
|
|
|
@@ -118,6 +121,11 @@ they must not call `components.controlPlane.migration` from application code.
|
|
|
118
121
|
Provisioning and backfills can use migration APIs; runtime bootstrapping uses
|
|
119
122
|
`controlPlane.identity.resolveInteractivePrincipal(...)`.
|
|
120
123
|
|
|
124
|
+
StackOS, Lucern Graph, and Stack Engineering should use this bootstrap path
|
|
125
|
+
before calling morning brief, graph session, MCP, or CLI-backed runtime flows.
|
|
126
|
+
`/api/platform/v1/users/:clerkId` may be a profile facade, but it is not an
|
|
127
|
+
authorization source.
|
|
128
|
+
|
|
121
129
|
## The Full Developer Journey
|
|
122
130
|
|
|
123
131
|
This walkthrough mirrors what a developer building an AI-powered code review system would experience in a real coding session. Every API call is something you would actually use.
|
package/dist/beliefs/index.js
CHANGED
|
@@ -3809,6 +3809,8 @@ function createTasksFacade(config = {}) {
|
|
|
3809
3809
|
description: input.description,
|
|
3810
3810
|
priority: input.priority,
|
|
3811
3811
|
status: input.status,
|
|
3812
|
+
assigneeId: input.assigneeId,
|
|
3813
|
+
blockedReason: input.blockedReason,
|
|
3812
3814
|
linkedBeliefId: input.linkedBeliefId,
|
|
3813
3815
|
linkedQuestionId: input.linkedQuestionId,
|
|
3814
3816
|
linkedWorktreeId: input.linkedWorktreeId,
|
|
@@ -7113,7 +7115,7 @@ function createToolRegistryClient(config = {}) {
|
|
|
7113
7115
|
}
|
|
7114
7116
|
|
|
7115
7117
|
// src/version.ts
|
|
7116
|
-
var LUCERN_SDK_VERSION = "0.3.0-alpha.
|
|
7118
|
+
var LUCERN_SDK_VERSION = "0.3.0-alpha.15";
|
|
7117
7119
|
|
|
7118
7120
|
// src/workflowClient.ts
|
|
7119
7121
|
function normalizeLensQuery(value) {
|