zam-core 0.7.2 → 0.9.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.
@@ -0,0 +1,420 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ BUILT_IN_SENSITIVE_MATCHERS,
4
+ DEFAULT_OBSERVER_POLICY,
5
+ DEFAULT_REVIEW_CONTEXT_MAX_CHARS,
6
+ HOMEBREW_CASK,
7
+ OBSERVER_POLICY_UNSET_HINT,
8
+ OBSERVER_POLICY_VERSION,
9
+ REVIEW_CONTEXT_CACHE_TTL_MS,
10
+ SIDECAR_POLICY_FILE,
11
+ SNAPSHOT_VERSION,
12
+ UI_OBSERVATION_PROTOCOL_VERSION,
13
+ WINGET_PACKAGE_ID,
14
+ addPrerequisite,
15
+ analyzeObservation,
16
+ appendUiObservationReport,
17
+ applySessionSynthesis,
18
+ assignTokenToContext,
19
+ buildAncestorMap,
20
+ buildReviewQueue,
21
+ buildUiSynthesisCandidates,
22
+ cascadeBlock,
23
+ clearADOCredentials,
24
+ clearProviderApiKey,
25
+ clearReviewContextCache,
26
+ clearTursoCredentials,
27
+ compareVersions,
28
+ computeContentHash,
29
+ confirmCardSplit,
30
+ confirmFoundations,
31
+ confirmSourceImport,
32
+ cosineSimilarity,
33
+ createAgentSkill,
34
+ createFSRS,
35
+ createGoal,
36
+ createKnowledgeContext,
37
+ createToken,
38
+ decidePostCapture,
39
+ decidePreCapture,
40
+ decideUpdate,
41
+ decodeEmbedding,
42
+ deleteCardForUser,
43
+ deleteKnowledgeContext,
44
+ deleteSetting,
45
+ deleteToken,
46
+ deprecateToken,
47
+ detectSyncProvider,
48
+ detectSystemLocale,
49
+ discoverSkills,
50
+ distributeGlobalSkills,
51
+ embeddingContentForToken,
52
+ encodeEmbedding,
53
+ endSession,
54
+ ensureCard,
55
+ ensureMonitorDir,
56
+ ensureUiObserverDir,
57
+ evaluateRating,
58
+ executeReviewAction,
59
+ exportSnapshot,
60
+ extractTasks,
61
+ extractTokenRefs,
62
+ fetchActiveWorkItems,
63
+ findTokens,
64
+ generateBashHooks,
65
+ generateBashUnhooks,
66
+ generateConceptFreeCue,
67
+ generatePowerShellHooks,
68
+ generatePowerShellUnhooks,
69
+ generatePrompt,
70
+ generateTokenSlug,
71
+ generateZshHooks,
72
+ generateZshUnhooks,
73
+ getADOCredentials,
74
+ getActiveWorkspace,
75
+ getActiveWorkspaceContext,
76
+ getActiveWorkspaceId,
77
+ getAgentSkill,
78
+ getAllSettings,
79
+ getAllSettingsDetailed,
80
+ getBlockedCards,
81
+ getCard,
82
+ getCardById,
83
+ getCardDeletionImpact,
84
+ getConfiguredWorkspaces,
85
+ getDatabaseTargetInfo,
86
+ getDefaultDbPath,
87
+ getDependents,
88
+ getDisplayTitle,
89
+ getDomainCompetence,
90
+ getDueCards,
91
+ getEmbeddingCoverage,
92
+ getGoal,
93
+ getGoalTree,
94
+ getInstallChannel,
95
+ getInstallMode,
96
+ getKnowledgeContextById,
97
+ getKnowledgeContextByName,
98
+ getMachineAiConfig,
99
+ getMonitorDir,
100
+ getMonitorLogStats,
101
+ getMonitorPath,
102
+ getPackageSkillPath,
103
+ getPrerequisites,
104
+ getProviderApiKey,
105
+ getRepoPaths,
106
+ getReviewsForCard,
107
+ getReviewsForUser,
108
+ getSessionSummary,
109
+ getSessionSynthesisRecords,
110
+ getSetting,
111
+ getShortSlug,
112
+ getSystemProfile,
113
+ getTokenById,
114
+ getTokenBySlug,
115
+ getTokenDeleteImpact,
116
+ getTokenEmbedding,
117
+ getTokenNeighborhood,
118
+ getTursoCredentials,
119
+ getUiObservationPath,
120
+ getUiObserverDir,
121
+ getUserStats,
122
+ hasCommand,
123
+ importCurriculumCards,
124
+ importSnapshot,
125
+ injectShellHooks,
126
+ installFastFlowLM,
127
+ installOllama,
128
+ installOpenCode,
129
+ interleave,
130
+ isObserverPolicyConfigured,
131
+ isOllamaInstalled,
132
+ isUiObservationReport,
133
+ listAgentSkills,
134
+ listContextsForToken,
135
+ listEmbeddedTokens,
136
+ listGoals,
137
+ listKnowledgeContexts,
138
+ listPersonalCards,
139
+ listProviderApiKeyRefs,
140
+ listTokens,
141
+ listTokensNeedingEmbedding,
142
+ loadADOConfig,
143
+ loadCredentials,
144
+ loadInstallConfig,
145
+ logReview,
146
+ logStep,
147
+ matchBuiltInSensitive,
148
+ matchDenylist,
149
+ matchesFilePath,
150
+ monitorLogExists,
151
+ normalizeLocale,
152
+ normalizePath,
153
+ openDatabase,
154
+ openDatabaseWithSync,
155
+ openRemoteDatabase,
156
+ pairCommands,
157
+ parseGoalFile,
158
+ parseMonitorLog,
159
+ parseObserverList,
160
+ parseObserverPolicy,
161
+ parseSnapshot,
162
+ parseUiObservationLog,
163
+ planOpenCodeInstall,
164
+ planUpdate,
165
+ prepareLocalModel,
166
+ prepareSessionSynthesis,
167
+ readMonitorLog,
168
+ readUiObservationLog,
169
+ removeConfiguredWorkspace,
170
+ resolveAllBeliefPaths,
171
+ resolveAllGoalPaths,
172
+ resolveObserverPolicy,
173
+ resolveOllamaCommand,
174
+ resolveReference,
175
+ resolveRepoPath,
176
+ resolveReviewContext,
177
+ saveConfiguredWorkspaces,
178
+ saveCredentials,
179
+ saveInstallConfig,
180
+ saveMachineAiConfig,
181
+ searchTokensHybrid,
182
+ serializeGoal,
183
+ setADOCredentials,
184
+ setActiveWorkspaceContext,
185
+ setActiveWorkspaceId,
186
+ setInstallChannel,
187
+ setInstallMode,
188
+ setProviderApiKey,
189
+ setSetting,
190
+ setTursoCredentials,
191
+ slugify,
192
+ startSession,
193
+ suggestFoundations,
194
+ syncObserverSidecarPolicy,
195
+ t,
196
+ toSidecarPrivacyPolicy,
197
+ uiObservationLogExists,
198
+ uiObservationTimeSpan,
199
+ unassignTokenFromContext,
200
+ unblockReady,
201
+ updateCard,
202
+ updateGoalStatus,
203
+ updateKnowledgeContext,
204
+ updateToken,
205
+ upsertConfiguredWorkspace,
206
+ upsertTokenEmbedding,
207
+ verifySnapshot,
208
+ wouldCreateCycle,
209
+ writeMonitorEvent
210
+ } from "./chunk-BOWP6D5I.js";
211
+ export {
212
+ BUILT_IN_SENSITIVE_MATCHERS,
213
+ DEFAULT_OBSERVER_POLICY,
214
+ DEFAULT_REVIEW_CONTEXT_MAX_CHARS,
215
+ HOMEBREW_CASK,
216
+ OBSERVER_POLICY_UNSET_HINT,
217
+ OBSERVER_POLICY_VERSION,
218
+ REVIEW_CONTEXT_CACHE_TTL_MS,
219
+ SIDECAR_POLICY_FILE,
220
+ SNAPSHOT_VERSION,
221
+ UI_OBSERVATION_PROTOCOL_VERSION,
222
+ WINGET_PACKAGE_ID,
223
+ addPrerequisite,
224
+ analyzeObservation,
225
+ appendUiObservationReport,
226
+ applySessionSynthesis,
227
+ assignTokenToContext,
228
+ buildAncestorMap,
229
+ buildReviewQueue,
230
+ buildUiSynthesisCandidates,
231
+ cascadeBlock,
232
+ clearADOCredentials,
233
+ clearProviderApiKey,
234
+ clearReviewContextCache,
235
+ clearTursoCredentials,
236
+ compareVersions,
237
+ computeContentHash,
238
+ confirmCardSplit,
239
+ confirmFoundations,
240
+ confirmSourceImport,
241
+ cosineSimilarity,
242
+ createAgentSkill,
243
+ createFSRS,
244
+ createGoal,
245
+ createKnowledgeContext,
246
+ createToken,
247
+ decidePostCapture,
248
+ decidePreCapture,
249
+ decideUpdate,
250
+ decodeEmbedding,
251
+ deleteCardForUser,
252
+ deleteKnowledgeContext,
253
+ deleteSetting,
254
+ deleteToken,
255
+ deprecateToken,
256
+ detectSyncProvider,
257
+ detectSystemLocale,
258
+ discoverSkills,
259
+ distributeGlobalSkills,
260
+ embeddingContentForToken,
261
+ encodeEmbedding,
262
+ endSession,
263
+ ensureCard,
264
+ ensureMonitorDir,
265
+ ensureUiObserverDir,
266
+ evaluateRating,
267
+ executeReviewAction,
268
+ exportSnapshot,
269
+ extractTasks,
270
+ extractTokenRefs,
271
+ fetchActiveWorkItems,
272
+ findTokens,
273
+ generateBashHooks,
274
+ generateBashUnhooks,
275
+ generateConceptFreeCue,
276
+ generatePowerShellHooks,
277
+ generatePowerShellUnhooks,
278
+ generatePrompt,
279
+ generateTokenSlug,
280
+ generateZshHooks,
281
+ generateZshUnhooks,
282
+ getADOCredentials,
283
+ getActiveWorkspace,
284
+ getActiveWorkspaceContext,
285
+ getActiveWorkspaceId,
286
+ getAgentSkill,
287
+ getAllSettings,
288
+ getAllSettingsDetailed,
289
+ getBlockedCards,
290
+ getCard,
291
+ getCardById,
292
+ getCardDeletionImpact,
293
+ getConfiguredWorkspaces,
294
+ getDatabaseTargetInfo,
295
+ getDefaultDbPath,
296
+ getDependents,
297
+ getDisplayTitle,
298
+ getDomainCompetence,
299
+ getDueCards,
300
+ getEmbeddingCoverage,
301
+ getGoal,
302
+ getGoalTree,
303
+ getInstallChannel,
304
+ getInstallMode,
305
+ getKnowledgeContextById,
306
+ getKnowledgeContextByName,
307
+ getMachineAiConfig,
308
+ getMonitorDir,
309
+ getMonitorLogStats,
310
+ getMonitorPath,
311
+ getPackageSkillPath,
312
+ getPrerequisites,
313
+ getProviderApiKey,
314
+ getRepoPaths,
315
+ getReviewsForCard,
316
+ getReviewsForUser,
317
+ getSessionSummary,
318
+ getSessionSynthesisRecords,
319
+ getSetting,
320
+ getShortSlug,
321
+ getSystemProfile,
322
+ getTokenById,
323
+ getTokenBySlug,
324
+ getTokenDeleteImpact,
325
+ getTokenEmbedding,
326
+ getTokenNeighborhood,
327
+ getTursoCredentials,
328
+ getUiObservationPath,
329
+ getUiObserverDir,
330
+ getUserStats,
331
+ hasCommand,
332
+ importCurriculumCards,
333
+ importSnapshot,
334
+ injectShellHooks,
335
+ installFastFlowLM,
336
+ installOllama,
337
+ installOpenCode,
338
+ interleave,
339
+ isObserverPolicyConfigured,
340
+ isOllamaInstalled,
341
+ isUiObservationReport,
342
+ listAgentSkills,
343
+ listContextsForToken,
344
+ listEmbeddedTokens,
345
+ listGoals,
346
+ listKnowledgeContexts,
347
+ listPersonalCards,
348
+ listProviderApiKeyRefs,
349
+ listTokens,
350
+ listTokensNeedingEmbedding,
351
+ loadADOConfig,
352
+ loadCredentials,
353
+ loadInstallConfig,
354
+ logReview,
355
+ logStep,
356
+ matchBuiltInSensitive,
357
+ matchDenylist,
358
+ matchesFilePath,
359
+ monitorLogExists,
360
+ normalizeLocale,
361
+ normalizePath,
362
+ openDatabase,
363
+ openDatabaseWithSync,
364
+ openRemoteDatabase,
365
+ pairCommands,
366
+ parseGoalFile,
367
+ parseMonitorLog,
368
+ parseObserverList,
369
+ parseObserverPolicy,
370
+ parseSnapshot,
371
+ parseUiObservationLog,
372
+ planOpenCodeInstall,
373
+ planUpdate,
374
+ prepareLocalModel,
375
+ prepareSessionSynthesis,
376
+ readMonitorLog,
377
+ readUiObservationLog,
378
+ removeConfiguredWorkspace,
379
+ resolveAllBeliefPaths,
380
+ resolveAllGoalPaths,
381
+ resolveObserverPolicy,
382
+ resolveOllamaCommand,
383
+ resolveReference,
384
+ resolveRepoPath,
385
+ resolveReviewContext,
386
+ saveConfiguredWorkspaces,
387
+ saveCredentials,
388
+ saveInstallConfig,
389
+ saveMachineAiConfig,
390
+ searchTokensHybrid,
391
+ serializeGoal,
392
+ setADOCredentials,
393
+ setActiveWorkspaceContext,
394
+ setActiveWorkspaceId,
395
+ setInstallChannel,
396
+ setInstallMode,
397
+ setProviderApiKey,
398
+ setSetting,
399
+ setTursoCredentials,
400
+ slugify,
401
+ startSession,
402
+ suggestFoundations,
403
+ syncObserverSidecarPolicy,
404
+ t,
405
+ toSidecarPrivacyPolicy,
406
+ uiObservationLogExists,
407
+ uiObservationTimeSpan,
408
+ unassignTokenFromContext,
409
+ unblockReady,
410
+ updateCard,
411
+ updateGoalStatus,
412
+ updateKnowledgeContext,
413
+ updateToken,
414
+ upsertConfiguredWorkspace,
415
+ upsertTokenEmbedding,
416
+ verifySnapshot,
417
+ wouldCreateCycle,
418
+ writeMonitorEvent
419
+ };
420
+ //# sourceMappingURL=kernel-6JUK5NCB.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zam-core",
3
- "version": "0.7.2",
3
+ "version": "0.9.0",
4
4
  "description": "The Symbiotic Learning Kernel: Elevating Human Intelligence through AI Collaboration.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -60,9 +60,11 @@
60
60
  "homepage": "https://github.com/zam-os/zam#readme",
61
61
  "dependencies": {
62
62
  "@inquirer/prompts": "^8.3.2",
63
+ "@modelcontextprotocol/sdk": "^1.29.0",
63
64
  "better-sqlite3": "^12.10.0",
64
65
  "commander": "^14.0.3",
65
- "ulid": "^3.0.2"
66
+ "ulid": "^3.0.2",
67
+ "zod": "^4.4.3"
66
68
  },
67
69
  "optionalDependencies": {
68
70
  "libsql": "^0.5.29"