@lucern/contracts 0.3.0-alpha.6 → 0.3.0-alpha.8
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/CHANGELOG.md +4 -0
- package/dist/context-pack.contract.d.ts +5 -3
- package/dist/context-pack.contract.js.map +1 -1
- package/dist/{dsl-BgpoVOVQ.d.ts → dsl-djCRfuWC.d.ts} +1 -1
- package/dist/dsl.d.ts +1 -1
- package/dist/dsl.js +1 -4
- package/dist/dsl.js.map +1 -1
- package/dist/{edge-policy-manifest-DpmTtjmm.d.ts → edge-policy-manifest-Byv6cQPP.d.ts} +1 -1
- package/dist/function-registry/beliefs.js +77 -14
- package/dist/function-registry/beliefs.js.map +1 -1
- package/dist/function-registry/coding.js +77 -14
- package/dist/function-registry/coding.js.map +1 -1
- package/dist/function-registry/context.js +83 -17
- package/dist/function-registry/context.js.map +1 -1
- package/dist/function-registry/contracts.js +77 -14
- package/dist/function-registry/contracts.js.map +1 -1
- package/dist/function-registry/coordination.js +77 -14
- package/dist/function-registry/coordination.js.map +1 -1
- package/dist/function-registry/edges.js +77 -14
- package/dist/function-registry/edges.js.map +1 -1
- package/dist/function-registry/evidence.js +81 -15
- package/dist/function-registry/evidence.js.map +1 -1
- package/dist/function-registry/graph.js +77 -14
- package/dist/function-registry/graph.js.map +1 -1
- package/dist/function-registry/helpers.d.ts +3 -3
- package/dist/function-registry/helpers.js +77 -14
- package/dist/function-registry/helpers.js.map +1 -1
- package/dist/function-registry/identity.js +77 -14
- package/dist/function-registry/identity.js.map +1 -1
- package/dist/function-registry/index.d.ts +2 -2
- package/dist/function-registry/index.js +80 -17
- package/dist/function-registry/index.js.map +1 -1
- package/dist/function-registry/judgments.js +77 -14
- package/dist/function-registry/judgments.js.map +1 -1
- package/dist/function-registry/legacy.js +77 -14
- package/dist/function-registry/legacy.js.map +1 -1
- package/dist/function-registry/lenses.js +77 -14
- package/dist/function-registry/lenses.js.map +1 -1
- package/dist/function-registry/manifest.d.ts +1 -1
- package/dist/function-registry/ontologies.js +77 -14
- package/dist/function-registry/ontologies.js.map +1 -1
- package/dist/function-registry/pipeline.js +77 -14
- package/dist/function-registry/pipeline.js.map +1 -1
- package/dist/function-registry/questions.js +77 -14
- package/dist/function-registry/questions.js.map +1 -1
- package/dist/function-registry/tasks.d.ts +17 -17
- package/dist/function-registry/tasks.js +121 -16
- package/dist/function-registry/tasks.js.map +1 -1
- package/dist/function-registry/topics.js +77 -14
- package/dist/function-registry/topics.js.map +1 -1
- package/dist/function-registry/types.d.ts +1 -1
- package/dist/function-registry/worktrees.js +85 -17
- package/dist/function-registry/worktrees.js.map +1 -1
- package/dist/function-registry-input-audit.js +4 -2
- package/dist/function-registry-input-audit.js.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +106 -18
- package/dist/index.js.map +1 -1
- package/dist/infisical-runtime.contract.js +5 -0
- package/dist/infisical-runtime.contract.js.map +1 -1
- package/dist/lens-filter.contract.js +4 -3
- package/dist/lens-filter.contract.js.map +1 -1
- package/dist/lens-workflow.contract.js +4 -3
- package/dist/lens-workflow.contract.js.map +1 -1
- package/dist/manifests/edge-policy-manifest.d.ts +1 -1
- package/dist/manifests/infisical-runtime-manifest.js +5 -0
- package/dist/manifests/infisical-runtime-manifest.js.map +1 -1
- package/dist/manifests/tenant-client-manifest.d.ts +20 -1
- package/dist/manifests/tenant-client-manifest.js +23 -0
- package/dist/manifests/tenant-client-manifest.js.map +1 -1
- package/dist/projections/check-convex-args-shape.js +4 -1
- package/dist/projections/check-convex-args-shape.js.map +1 -1
- package/dist/projections/create-evidence.projection.js +4 -1
- package/dist/projections/create-evidence.projection.js.map +1 -1
- package/dist/projections/index.js +4 -1
- package/dist/projections/index.js.map +1 -1
- package/dist/schema-helpers/enumValidation.js +2 -5
- package/dist/schema-helpers/enumValidation.js.map +1 -1
- package/dist/schema-helpers/spine/nodes/decision.js +2 -1
- package/dist/schema-helpers/spine/nodes/decision.js.map +1 -1
- package/dist/schema-helpers/spine/tables/epistemicNodes.js +27 -27
- package/dist/schema-helpers/spine/tables/epistemicNodes.js.map +1 -1
- package/dist/sdk-methods.contract.d.ts +1 -1
- package/dist/{sdk-tools.contract-Ng8ULxjr.d.ts → sdk-tools.contract-Ci8bkoai.d.ts} +2 -2
- package/dist/sdk-tools.contract.d.ts +2 -2
- package/dist/sdk-tools.contract.js +76 -11
- package/dist/sdk-tools.contract.js.map +1 -1
- package/dist/tenant-bootstrap-seed.contract.d.ts +4 -4
- package/dist/tenant-bootstrap-seed.contract.js +2 -2
- package/dist/tenant-bootstrap-seed.contract.js.map +1 -1
- package/dist/tenant-client.contract.d.ts +20 -1
- package/dist/tenant-client.contract.js +23 -0
- package/dist/tenant-client.contract.js.map +1 -1
- package/dist/{tool-contracts-CYXVPN4K.d.ts → tool-contracts-B4iWhejG.d.ts} +1 -1
- package/dist/tool-contracts.d.ts +1 -1
- package/dist/tool-contracts.js +76 -11
- package/dist/tool-contracts.js.map +1 -1
- package/package.json +1 -1
package/dist/tool-contracts.js
CHANGED
|
@@ -424,9 +424,16 @@ var ADD_WORKTREE = {
|
|
|
424
424
|
},
|
|
425
425
|
projectId: {
|
|
426
426
|
type: "string",
|
|
427
|
-
description: "Legacy topicId alias"
|
|
427
|
+
description: "Legacy topicId alias or resolver hint"
|
|
428
|
+
},
|
|
429
|
+
topicId: {
|
|
430
|
+
type: "string",
|
|
431
|
+
description: "Optional topic scope hint for resolver validation"
|
|
432
|
+
},
|
|
433
|
+
topicHint: {
|
|
434
|
+
type: "string",
|
|
435
|
+
description: "Natural-language topic hint for automatic topic resolution"
|
|
428
436
|
},
|
|
429
|
-
topicId: { type: "string", description: "Optional topic scope hint" },
|
|
430
437
|
branchId: {
|
|
431
438
|
type: "string",
|
|
432
439
|
description: "The branch this worktree investigates"
|
|
@@ -524,6 +531,22 @@ var ADD_WORKTREE = {
|
|
|
524
531
|
type: "string",
|
|
525
532
|
description: "Optional domain pack whose shaping hooks should influence generated questions and tasks"
|
|
526
533
|
},
|
|
534
|
+
tags: {
|
|
535
|
+
type: "array",
|
|
536
|
+
description: "Additional topic-resolution tags for the worktree"
|
|
537
|
+
},
|
|
538
|
+
touchedPaths: {
|
|
539
|
+
type: "array",
|
|
540
|
+
description: "File paths used as topic-resolution signals"
|
|
541
|
+
},
|
|
542
|
+
sourceRef: {
|
|
543
|
+
type: "string",
|
|
544
|
+
description: "Source reference used as a topic-resolution signal"
|
|
545
|
+
},
|
|
546
|
+
sourceKind: {
|
|
547
|
+
type: "string",
|
|
548
|
+
description: "Source kind used as a topic-resolution signal"
|
|
549
|
+
},
|
|
527
550
|
campaign: {
|
|
528
551
|
type: "number",
|
|
529
552
|
description: "Top-level pipeline campaign number. Campaigns define the outer execution slice."
|
|
@@ -561,7 +584,7 @@ var ADD_WORKTREE = {
|
|
|
561
584
|
description: "Timestamp when worktree metadata was last reconciled"
|
|
562
585
|
}
|
|
563
586
|
},
|
|
564
|
-
required: ["title"
|
|
587
|
+
required: ["title"],
|
|
565
588
|
response: {
|
|
566
589
|
description: "The created worktree",
|
|
567
590
|
fields: {
|
|
@@ -2058,15 +2081,15 @@ var IDENTITY_WHOAMI = {
|
|
|
2058
2081
|
};
|
|
2059
2082
|
var COMPILE_CONTEXT = {
|
|
2060
2083
|
name: "compile_context",
|
|
2061
|
-
description: "Compile a focused reasoning context
|
|
2084
|
+
description: "Compile a focused reasoning context. If topicId is omitted, Lucern resolves the best topic from the query. Like `git log --graph --decorate` for the reasoning substrate \u2014 returns the canonical Pillar 3 context pack through the public API shape.",
|
|
2062
2085
|
parameters: {
|
|
2063
2086
|
topicId: {
|
|
2064
2087
|
type: "string",
|
|
2065
|
-
description: "
|
|
2088
|
+
description: "Optional topic scope ID. Omit to resolve the topic from query."
|
|
2066
2089
|
},
|
|
2067
2090
|
query: {
|
|
2068
2091
|
type: "string",
|
|
2069
|
-
description: "
|
|
2092
|
+
description: "Focus query used to resolve the topic and rank context items. Required when topicId is omitted."
|
|
2070
2093
|
},
|
|
2071
2094
|
budget: {
|
|
2072
2095
|
type: "number",
|
|
@@ -2090,7 +2113,7 @@ var COMPILE_CONTEXT = {
|
|
|
2090
2113
|
description: "Include related ontological entities in the compiled result"
|
|
2091
2114
|
}
|
|
2092
2115
|
},
|
|
2093
|
-
required: [
|
|
2116
|
+
required: [],
|
|
2094
2117
|
response: {
|
|
2095
2118
|
description: "Compiled context pack for the requested topic",
|
|
2096
2119
|
fields: {
|
|
@@ -2264,18 +2287,60 @@ var CREATE_TASK = {
|
|
|
2264
2287
|
name: "create_task",
|
|
2265
2288
|
description: "Create an execution task tied to the reasoning state. Like `git task` \u2014 tracks concrete work items (calls to make, data to gather, analyses to run) linked to questions, beliefs, or worktrees.",
|
|
2266
2289
|
parameters: {
|
|
2267
|
-
title: { type: "string", description: "Task
|
|
2290
|
+
title: { type: "string", description: "Task title" },
|
|
2268
2291
|
topicId: { type: "string", description: "Topic scope" },
|
|
2292
|
+
description: {
|
|
2293
|
+
type: "string",
|
|
2294
|
+
description: "Long-form task description"
|
|
2295
|
+
},
|
|
2269
2296
|
taskType: {
|
|
2270
2297
|
type: "string",
|
|
2271
|
-
description: "
|
|
2272
|
-
enum: [
|
|
2298
|
+
description: "Task taxonomy",
|
|
2299
|
+
enum: [
|
|
2300
|
+
"general",
|
|
2301
|
+
"find_evidence",
|
|
2302
|
+
"verify_claim",
|
|
2303
|
+
"research",
|
|
2304
|
+
"review",
|
|
2305
|
+
"interview",
|
|
2306
|
+
"analysis",
|
|
2307
|
+
"track_metrics"
|
|
2308
|
+
]
|
|
2309
|
+
},
|
|
2310
|
+
priority: {
|
|
2311
|
+
type: "string",
|
|
2312
|
+
description: "Priority",
|
|
2313
|
+
enum: ["urgent", "high", "medium", "low"]
|
|
2314
|
+
},
|
|
2315
|
+
status: {
|
|
2316
|
+
type: "string",
|
|
2317
|
+
description: "Initial status (defaults to todo)",
|
|
2318
|
+
enum: ["todo", "in_progress", "blocked", "done"]
|
|
2319
|
+
},
|
|
2320
|
+
linkedWorktreeId: {
|
|
2321
|
+
type: "string",
|
|
2322
|
+
description: "Worktree this task belongs to"
|
|
2323
|
+
},
|
|
2324
|
+
linkedBeliefId: {
|
|
2325
|
+
type: "string",
|
|
2326
|
+
description: "Belief this task supports"
|
|
2273
2327
|
},
|
|
2274
2328
|
linkedQuestionId: {
|
|
2275
2329
|
type: "string",
|
|
2276
2330
|
description: "Question this task addresses"
|
|
2277
2331
|
},
|
|
2278
|
-
|
|
2332
|
+
assigneeId: {
|
|
2333
|
+
type: "string",
|
|
2334
|
+
description: "Principal assigned to the task"
|
|
2335
|
+
},
|
|
2336
|
+
dueDate: {
|
|
2337
|
+
type: "number",
|
|
2338
|
+
description: "Due date as epoch milliseconds"
|
|
2339
|
+
},
|
|
2340
|
+
tags: {
|
|
2341
|
+
type: "array",
|
|
2342
|
+
description: "Free-form string tags"
|
|
2343
|
+
}
|
|
2279
2344
|
},
|
|
2280
2345
|
required: ["title"],
|
|
2281
2346
|
response: {
|