@mmon-co/ncept-local 0.3.5 → 0.3.6

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.
@@ -31,7 +31,7 @@ const nodeList = { type: "array", items: { type: "string", pattern: "^node-" } }
31
31
  const graphProperties = {
32
32
  operations: {
33
33
  type: "array",
34
- description: 'Core operations use kind, not op. Create a Node with {"kind":"add-node","node":{"id":"node-example"}}; its label and criterion are separate: {"kind":"add-metadata-set","metadataSet":{"id":"metadata-example","subjects":[{"kind":"node","id":"node-example"}],"properties":{"display:label":"Example","pedagogy:criterion":"Observable success","pedagogy:knowledge-type":"conceptual"}}}. A prerequisite edge is {"kind":"add-edge","edge":{"id":"edge-example","from":"node-prerequisite","to":"node-example"}}. Other kinds: define-tag {tag:{name,nodes,edges,metadataSets}}, add-material/edit-material {material:{playground,type,id,about,content:{kind:"blob",hash,mediaType},meta}}, remove-material {playground,id}, mask-contribution {mask:{source:{identity,digest},operationIndex,entity:{kind,id},property?}}. Prefer the material tool for local files. Metadata properties belong to metadata sets, never directly on Nodes.',
34
+ description: "Core Patch operations using kind (add-node, add-edge, add-metadata-set, define-tag, mask-contribution, add-material/edit-material/remove-material). Metadata lives in metadata sets, not on Nodes; prefer the material tool for local files.",
35
35
  items: { type: "object" },
36
36
  },
37
37
  targets: nodeList,
@@ -217,7 +217,7 @@ export function hostTools(host, opened, capabilities, skills, metadataKeys) {
217
217
  return { content: { status: "draft", report: prepared.compiled.report, graph: prepared.compiled.graph } };
218
218
  });
219
219
  }
220
- mount("propose", 'Ask approval for a Mission, graph-diff/revision, or preferences. For mission, input.mission is {id,statement,targets:[{node,provenance:{identity,digest}}],priority}; the same id revises an existing Mission. A Mission may start with targets:[] before charting; after graph acceptance, use mission again to attach its targets with exact provenance from read graph. For graph-diff/revision, input:{} submits the current edit_graph_draft; input.targets optionally selects Node ids. For preferences, input.text is the new text. For mode, input is {mode,then,entry}; choose an allowed switch from context. Entry shapes: {kind:"goal",text}, {kind:"mission",id}, {kind:"target",node}, {kind:"review",nodes}, or {kind:"lesson",opening:{missionId,number}} (omit number for the next uncleared Lesson). Call mission without scope to include Missions not yet targeted; its path supplies Lesson numbers after targets are attached. No proposed Profile change is applied before confirm.', schema({
220
+ mount("propose", "Ask learner approval for a Mission (same id revises; targets:[] allowed before charting), graph-diff/revision (input:{} submits current edit_graph_draft), preferences, settings, or mode switch (choose an allowed switch from context). Nothing applies before confirm.", schema({
221
221
  op: { enum: ["mission", "graph-diff", "revision", "preferences", "settings", "mode"] },
222
222
  input: {
223
223
  type: "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmon-co/ncept-local",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",