inistate-mcp 1.1.2 → 1.1.3

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/build/tools.js CHANGED
@@ -787,7 +787,7 @@ Load resource inistate://schema before modifying to know valid field types, colo
787
787
  ...reliabilityParams,
788
788
  workspaceId: wsParam,
789
789
  },
790
- annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: false },
790
+ annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: false, idempotentHint: false },
791
791
  }, async ({ module: moduleName, activity, entryId, entryIds, input, state, comment, assignees, due, ai, confirmed, workspaceId, ...extra }) => {
792
792
  // Local-runtime-only reliability controls (absent from the cloud schema).
793
793
  const idempotencyKey = extra.idempotencyKey;
@@ -986,7 +986,7 @@ Load resource inistate://schema before modifying to know valid field types, colo
986
986
  .describe("REQUIRED when the activity is 'changeStatus', any per-item or top-level `state` override is supplied, or the activity's actor is 'hybrid'. Set true ONLY after surfacing the planned bulk action to the user."),
987
987
  workspaceId: wsParam,
988
988
  },
989
- annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: false },
989
+ annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: false, idempotentHint: false },
990
990
  }, async ({ module: moduleName, activity, ai, items, confirmed, workspaceId }) => {
991
991
  try {
992
992
  applyWorkspace(workspaceId);
@@ -1254,7 +1254,7 @@ Load resource inistate://schema before modifying to know valid field types, colo
1254
1254
  .describe("MIME type of the file"),
1255
1255
  workspaceId: wsParam,
1256
1256
  },
1257
- annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false },
1257
+ annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false, idempotentHint: false },
1258
1258
  }, async ({ module: moduleName, name: fileName, file: fileContent, mimeType, workspaceId }) => {
1259
1259
  if (!caps.files)
1260
1260
  return ok(capabilityMessage("files", backend.kind));
@@ -1325,7 +1325,7 @@ Load resource inistate://schema before modifying to know valid field types, colo
1325
1325
  .describe("File size in bytes. Must be > 0 and ≤ 500MB (524288000)."),
1326
1326
  workspaceId: wsParam,
1327
1327
  },
1328
- annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false },
1328
+ annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false, idempotentHint: false },
1329
1329
  }, async ({ module: moduleName, fileName, contentType, fileSize, workspaceId }) => {
1330
1330
  if (!caps.files)
1331
1331
  return ok(capabilityMessage("files", backend.kind));
@@ -1358,7 +1358,7 @@ Load resource inistate://schema before modifying to know valid field types, colo
1358
1358
  .describe("The s3Key returned from request_upload_url."),
1359
1359
  workspaceId: wsParam,
1360
1360
  },
1361
- annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false },
1361
+ annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false, idempotentHint: false },
1362
1362
  }, async ({ s3Key, workspaceId }) => {
1363
1363
  if (!caps.files)
1364
1364
  return ok(capabilityMessage("files", backend.kind));
@@ -1452,7 +1452,7 @@ Load resources inistate://schema and inistate://design-guide before designing fo
1452
1452
  ...moduleSectionsShape,
1453
1453
  workspaceId: wsParam,
1454
1454
  },
1455
- annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false },
1455
+ annotations: { readOnlyHint: false, destructiveHint: false, openWorldHint: false, idempotentHint: false },
1456
1456
  }, async ({ name, icon, description: desc, information, states, activities, flows, workspaceId, }) => {
1457
1457
  try {
1458
1458
  applyWorkspace(workspaceId);
@@ -1524,7 +1524,7 @@ Load resources inistate://schema and inistate://design-guide before designing fo
1524
1524
  ...moduleSectionsShape,
1525
1525
  workspaceId: wsParam,
1526
1526
  },
1527
- annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: false },
1527
+ annotations: { readOnlyHint: false, destructiveHint: true, openWorldHint: false, idempotentHint: true },
1528
1528
  }, async ({ id, name, icon, description: desc, information, states, activities, flows, workspaceId, }) => {
1529
1529
  try {
1530
1530
  applyWorkspace(workspaceId);
@@ -1659,7 +1659,7 @@ Load resources inistate://schema and inistate://design-guide before designing fo
1659
1659
  title: "Scaffold Module from Existing Data",
1660
1660
  description: gatedDesc(caps.scaffold, "Design a module schema together with the user from data they ALREADY have — a Notion database, an Airtable table, or a local SQLite table. This is the inverse on-ramp: instead of designing from scratch, read the existing shape and refine it with the user. One container (a SQLite database, an Airtable base, a Notion workspace) can yield several modules — discover the tables, then model the chosen ones.\n\nFlow (use it conversationally):\n1. DISCOVER — call with just `source` pointed at the container: a SQLite database path, an `airtable://<baseId>` (no table), or a bare `notion://`. Returns { discovery: true, tables: [{ name, id?, columns, rows?, hasState, scaffold_source }] }. Show these to the user and ask which one(s) to model; each becomes its own module.\n2. DRAFT — call again with a chosen table's `scaffold_source` as `source` (or a SQLite `table`). Returns { schema, validation, suggestions } — columns become typed fields, a detected status/state/stage/phase column becomes states.\n3. REFINE together — confirm the inferred field types with the user, then define activities + flows (the governed transitions; design_workflow can scaffold a pattern).\n4. CREATE — validate_design → create_module, then point the runtime at the same data.\n\nTargets: notion://<databaseId> or bare notion:// (needs INISTATE_NOTION_TOKEN), airtable://<baseId>/<tableIdOrName> or airtable://<baseId> (needs INISTATE_AIRTABLE_TOKEN; listing a base's tables needs schema.bases:read), or a local SQLite path. Credentials are read from the environment — never pass tokens as arguments.", "Local-runtime only; use design_workflow to draft a module here."),
1661
1661
  inputSchema: scaffoldInput,
1662
- annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: true, idempotentHint: true },
1662
+ annotations: { readOnlyHint: true, destructiveHint: false, openWorldHint: false, idempotentHint: true },
1663
1663
  }, async ({ source, table, name, state }) => {
1664
1664
  if (!caps.scaffold)
1665
1665
  return ok(capabilityMessage("scaffold", backend.kind));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "inistate-mcp",
3
3
  "mcpName": "io.github.Inistate/inistate-mcp",
4
- "version": "1.1.2",
4
+ "version": "1.1.3",
5
5
  "description": "MCP server for the Inistate platform — no-code apps creation powered by AI",
6
6
  "type": "module",
7
7
  "author": "Inistate",
@@ -54,7 +54,7 @@
54
54
  "test:watch": "vitest",
55
55
  "changeset": "changeset",
56
56
  "version": "npx changeset version && node scripts/sync-server-json.js",
57
- "release:mcp": "npm run test && npm run version && mcp-publisher login && mcp-publisher publish",
57
+ "release:mcp": "npm run test && npm run version && mcp-publisher login github && mcp-publisher publish",
58
58
  "release:npm": "npm run build && npm run test && npm run version && npm publish",
59
59
  "release": "npm i && npm run test && npm run version && mcp-publisher validate && npm publish && mcp-publisher login github && mcp-publisher publish",
60
60
  "sync:server": "node scripts/sync-server-json.js",
package/server.json CHANGED
@@ -8,13 +8,13 @@
8
8
  "url": "https://github.com/inistate/inistate-mcp",
9
9
  "source": "github"
10
10
  },
11
- "version": "1.1.2",
11
+ "version": "1.1.3",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "registryBaseUrl": "https://registry.npmjs.org",
16
16
  "identifier": "inistate-mcp",
17
- "version": "1.1.2",
17
+ "version": "1.1.3",
18
18
  "transport": {
19
19
  "type": "stdio"
20
20
  },