integram-mcp 0.6.0 → 0.7.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.
- package/index.js +11 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -162,7 +162,7 @@ Only core tools (~15: CRUD, search, graph, comments, bulk, history) are loaded b
|
|
|
162
162
|
- "kag" — knowledge-augmented generation: search, traverse, ask, import, browse, stats, clusters, anomalies (~12 tools)
|
|
163
163
|
- "memory" — agent long-term memory, recall, procedures, contradictions (~7 tools)
|
|
164
164
|
- "timeseries" — record, query, and list time-series data sources (~3 tools)
|
|
165
|
-
- "advisor" —
|
|
165
|
+
- "advisor" — platform expert: docs map/search/read, tool cards, advice on schema design and best practices (~6 tools)
|
|
166
166
|
- "ai" — text-to-speech synthesis (TTS): speak text, list voices (~2 tools)
|
|
167
167
|
- "agents" — list and delegate to external AI agents (~2 tools)
|
|
168
168
|
- "pm" — project management: issues CRUD + bulk ops, checklists, sprints, board, backlog, comments CRUD, issue links, data-links (issue ↔ table/document/report), watchers, templates, trash/restore, members, CSV export, metrics (velocity, burndown, cycle time, workload), AI helpers (triage, decompose, estimate, plan sprint, detect blockers), org aggregation (portfolio, people, cross-project issues) (~53 tools)
|
|
@@ -760,7 +760,10 @@ Client-facing portal management. Activate via search_tools("portal").
|
|
|
760
760
|
**Custom Code:**
|
|
761
761
|
- Before writing data reading or the markup of a portal section, call kit_list_components — the @kit library already has reading with a completeness proof, EAV value recovery and the three absence states. Don't reinvent them.
|
|
762
762
|
- kit_list_components(version?, kind?, search?) — catalog of @kit building blocks: name, kind, one-line summary, module. Generated from the library sources at build time, so it cannot drift from the code. An empty list means an empty filter; a missing catalog comes back as a refusal (KIT_NOT_DEPLOYED / KIT_VERSION_NOT_FOUND / KIT_CATALOG_MISSING / KIT_CATALOG_BROKEN).
|
|
763
|
-
- kit_get_component(name, version?) — one entry in detail: module, kind, summary, props and
|
|
763
|
+
- kit_get_component(name, version?) — one entry in detail: module, kind, summary, props, slots and uiKeys for components. Unknown name → refusal listing similar names.
|
|
764
|
+
- Styling a @kit widget: never invent class names or token names. Node classes go in through the \`ui\` prop — a map of node key to your classes, e.g. \`<DataTable :ui="{ row: 'my-row' }" />\`; the keys are \`uiKeys\` from kit_get_component, your classes are APPENDED to the widget's own, and a key outside that list does not exist (the widget refuses it and warns in the console). Token names come from kit_get_tokens. A widget with no uiKeys field takes no \`ui\` prop at all — either it is headless, or the deployed version predates the prop.
|
|
765
|
+
- kit_get_tokens(version?, kind?, component?) — the styling contract: every CSS variable the @kit widgets read (colour, spacing, radius, font, motion) plus the stable class names of each widget. Call it BEFORE writing any style for a @kit widget. A name that is not in this dictionary does not exist: it resolves to nothing, and the section comes out structurally correct, with correct ARIA, and completely unstyled — behavioural tests will not catch it, only looking at the rendered page will. Never invent a token name, never guess a prefix. Each token ships a ready \`usage\` string, e.g. \`var(--kit-color-text, var(--color-text, #1f2328))\` — write it whole, fallback included, because the middle link is the portal shell's own token and that is what makes the widget inherit the portal theme. Refusals: KIT_TOKENS_MISSING (versions up to 0.4.0 carry no dictionary), KIT_NO_STYLING (headless widget, nothing to style).
|
|
766
|
+
- The \`classes\` field of that answer is a contract too: those class names are safe to hook your own styles and animations onto. Everything else inside a widget is behind scoped styles and may change.
|
|
764
767
|
- kit_list_versions() — which versions of @kit are deployed, plus \`latest\`. Ordering is numeric, so 0.1.10 is newer than 0.1.2.
|
|
765
768
|
- The version a portal uses is set by the \`kit\` field in the custom_code module config, not in component code. Omit \`version\` and the catalog answers for the latest deployed one.
|
|
766
769
|
- Reading rule: never build a portal API URL by hand. \`readAll(source, {db})\` takes \`type:id\` — the registry knows the path, the page ceiling and how that route proves the end of data. Seven incompatible pagination contracts exist across portal routes; the library hides all of them behind one answer \`{items, total, complete, reason}\`.
|
|
@@ -916,10 +919,15 @@ Git repository hosting per workspace. Activate via search_tools("codespace").
|
|
|
916
919
|
|
|
917
920
|
Platform expert for guidance and help. Activate via search_tools("advisor").
|
|
918
921
|
|
|
919
|
-
- ask_advisor(question, topic?) — ask about schema design, best practices, troubleshooting, feature usage.
|
|
922
|
+
- ask_advisor(question, topic?) — ask about schema design, best practices, troubleshooting, feature usage. Grounded in the platform docs corpus + current workspace schema. topic: schema/reports/automations/portal/documents/permissions/import/dashboards/integrations/general
|
|
920
923
|
- list_platform_capabilities() — full list of Integram features by category (data, columns, analytics, automations, documents, integrations, security, portal, AI, graph)
|
|
924
|
+
- docs_map(area?, module?, query?) — map of the platform docs corpus: what documents exist, what each is about, when it last changed. Start here.
|
|
925
|
+
- docs_search(query, area?, limit?) — hybrid search over doc fragments; returns citations (path#section). Empty result means "not in what was retrieved", NOT "not in the platform"
|
|
926
|
+
- docs_read(path, section?, offset?, maxChars?) — read a doc or one section in full; paginated via nextOffset
|
|
927
|
+
- docs_tool(name? | query? | group?) — card for a platform tool: purpose, params, risk tier. Read live from the tool catalog, so counts and names always match the code
|
|
921
928
|
|
|
922
929
|
Use advisor when user asks "help", "how to", "what can you do", "best practice", or needs guidance on platform features.
|
|
930
|
+
Never state a capability, count, or setting you did not confirm via docs_* — say "not covered in the docs" instead.
|
|
923
931
|
|
|
924
932
|
## Teamchat (internal messaging)
|
|
925
933
|
|
package/package.json
CHANGED