@lambdacurry/arbor 0.21.1 → 0.21.2
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/dist/arbor.js +43 -3
- package/package.json +1 -1
package/dist/arbor.js
CHANGED
|
@@ -17731,6 +17731,18 @@ var MCP_OUTPUT_SCHEMAS = {
|
|
|
17731
17731
|
association: jsonObject.nullable(),
|
|
17732
17732
|
message: exports_external.string()
|
|
17733
17733
|
}),
|
|
17734
|
+
feedback_status: exports_external.object({
|
|
17735
|
+
feedbackId: id,
|
|
17736
|
+
type: exports_external.enum(ARBOR_FEEDBACK_TYPES),
|
|
17737
|
+
status: exports_external.enum(ARBOR_FEEDBACK_STATUSES),
|
|
17738
|
+
private: exports_external.literal(true),
|
|
17739
|
+
associatedWithSharedKnowledge: exports_external.boolean(),
|
|
17740
|
+
createdAt: timestamp,
|
|
17741
|
+
updatedAt: timestamp,
|
|
17742
|
+
reviewedAt: timestamp.nullable(),
|
|
17743
|
+
resolvedAt: timestamp.nullable(),
|
|
17744
|
+
message: exports_external.string()
|
|
17745
|
+
}),
|
|
17734
17746
|
admin_feedback_capability: jsonObject,
|
|
17735
17747
|
admin_feedback_evidence: jsonObject,
|
|
17736
17748
|
admin_feedback_topic: jsonObject,
|
|
@@ -18594,6 +18606,7 @@ var MCP_TOOL_ANNOTATIONS = {
|
|
|
18594
18606
|
feedback_recall: readOnly,
|
|
18595
18607
|
feedback_thread_get: readOnly,
|
|
18596
18608
|
contribute_arbor_feedback: additive,
|
|
18609
|
+
feedback_status: readOnly,
|
|
18597
18610
|
admin_feedback_capability: destructiveIdempotent,
|
|
18598
18611
|
admin_feedback_evidence: destructive,
|
|
18599
18612
|
admin_feedback_topic: destructive,
|
|
@@ -18709,9 +18722,10 @@ var CONTRIBUTION_ADD_LINK_RELS = [
|
|
|
18709
18722
|
"tracked-as",
|
|
18710
18723
|
"delivered-by"
|
|
18711
18724
|
];
|
|
18725
|
+
var ARBOR_FEEDBACK_GUIDANCE = `ARBOR-SPECIFIC FEEDBACK — Privately capture ONE bounded report through \`contribute_arbor_feedback\` when Arbor itself caused meaningful friction: confusing semantics; surprising Arbor UI/MCP/CLI behavior; a missing Arbor capability; repeated Arbor retries; an Arbor-specific workaround; or misleading state, recovery guidance, or ergonomics. Usually do NOT report an ordinary repository bug, a routine GitHub/Cloudflare/provider failure Arbor did not cause or obscure, your own mistake, or generic implementation difficulty. One incident = one report: use one stable idempotencyKey to retry that same logical submission rather than reporting every participating call. Never include raw prompts/transcripts, shell output, command contents, secrets, provider payloads, or arbitrary error dumps. The raw body remains private; \`feedback_status\` reads only a receipt you own, while \`feedback_tree\` → \`feedback_recall\` → \`feedback_thread_get\` browses deliberately shared, sanitized knowledge.`;
|
|
18712
18726
|
var ORIENTATION = `Arbor is your team's deliberation room and shared memory — people and agents settle typed work here, and Arbor remembers what's decided. To work well:
|
|
18713
18727
|
|
|
18714
|
-
|
|
18728
|
+
${ARBOR_FEEDBACK_GUIDANCE}
|
|
18715
18729
|
|
|
18716
18730
|
Arbor's MCP is the collaboration and durable-knowledge surface. Configure, authorize, open, run, verify, package, deploy, and operate software through the separate Arbor Computer MCP at \`/computer/mcp\`; first-class Organization/Profile Secret administration stays here in Arbor, while App runtime configuration on Arbor Computer references those Secret ids without exposing material.
|
|
18717
18731
|
|
|
@@ -18726,6 +18740,19 @@ Arbor's MCP is the collaboration and durable-knowledge surface. Configure, autho
|
|
|
18726
18740
|
8. DURABLE OUTPUT IS AN ARTIFACT, NOT A LONG CONTRIBUTION (AD-201). A contribution is one point in a conversation; an ARTIFACT is a first-class output the room holds and keeps CURRENT — a doc, a table, a diagram, a spec, or an uploaded file. When your point is really a deliverable the team will read or UPDATE later — a table of options, a reference doc, a plan, a rubric — make it an artifact (\`artifact\` verb=create with kind doc/table/diagram/html + \`source\`, or promote a file) instead of pasting it into prose. Text-kind artifacts are LIVING: \`artifact_get\` it, then \`artifact\` verb=edit naming the \`baseVersion\` you read — patches apply exact-match and atomically, one version per call, every version attributed. An artifact created FROM a thread is listed on that thread automatically (no link post needed); cite it inline with [label](#art_…) wherever it's relevant. WHY: a thread remembers what was SAID; an artifact holds what is TRUE NOW — a 40-row table pasted into a contribution is frozen the instant it's posted and unreadable the moment it's edited, while the same table as an artifact stays live, diffable, and findable by its content.
|
|
18727
18741
|
|
|
18728
18742
|
Run \`arbor help\` (or read the MCP tool list) for the exact command/flags — those stay generated from the live action surface, so they're always current.`;
|
|
18743
|
+
var COMPUTER_ORIENTATION = `Arbor Computer is the complete software execution platform attached to Arbor's durable collaboration graph. It configures project environments, executes and verifies work, packages and releases Apps, and preserves reviewable evidence; it does not schedule agents or replace Arbor collaboration.
|
|
18744
|
+
|
|
18745
|
+
${ARBOR_FEEDBACK_GUIDANCE}
|
|
18746
|
+
|
|
18747
|
+
1. ORIENT, CONFIGURE, AND AUTHORIZE. Start with get_computer(threadId) to inspect the effective inherited recipe, repository authorization, compatibility, and durable lineage. Use set_organization_computer, set_space_computer, set_topic_computer, or set_thread_computer only when the corresponding complete sparse layer must be replaced; use github_repositories then github_connect_repository to authorize repositories at the narrowest scope that should inherit them. attach_computer mints durable protocol identity without starting a runtime; computer_open attaches as needed and starts or resumes the project environment. Each returned repository entry includes verified root instruction pointers when that repo has an AGENTS.md: read surfaced repository instructions before substantial edits or verification, then check for a nearer nested AGENTS.md once the target path is known. Repo-local instructions/scripts/config beat guessed formatter, test, lint, or build commands.
|
|
18748
|
+
2. READ THE CAPABILITIES CARD, NOT THE BACKEND. computer_open and computer_status describe the live PARENT Thread Computer and return the exact computerSessionId for parent filesystem, command, checkpoint, Preview, bundle, and stop operations. computer_status does not establish isolated Run activity; use computer_run_receipt(runId) and computer_process_read for Run-owned work. Command-line utilities, including Git and package managers, run through computer_exec; check unfamiliar binaries with command -v.
|
|
18749
|
+
3. ONE RUN PER TASK. A write Run defaults to an isolated execution environment with its own filesystem, processes, ports, and /tmp while preserving /workspace paths; a read Run shares the parent. Pass runId to Run-aware tools. If a response is lost, recover the durable operation/process identity from computer_run_receipt and read it before retrying. Once every operation is settled, computer_run_suspend publishes the exact workspace and releases the provider during an external wait; the next Run-aware operation restores that checkpoint under the same runId automatically. Suspension refuses active processes or unsettled outcomes and never replays unknown work, so reconcile process and Git/publication evidence first. An isolated local commit or Preview is not Git publication; push coherent work and prove it with computer_repo_work_status before computer_run_finish destroys the final placement. discard=true is the explicit choice to destroy proven non-durable work.
|
|
18750
|
+
4. CHECKPOINT COMPLETE PARENT UNITS. computer_checkpoint advances immutable parent lineage after an intermediate complete unit; computer_stop performs the final checkpoint before teardown. An isolated Run Preview is durable review output, not adoption or a checkpoint. The internal provider-handle publication operations are not agent tools.
|
|
18751
|
+
5. GIT AND GITHUB ARE ORDINARY COMMANDS AFTER AUTHORIZATION. Clone, fetch, pull, push, and gh run through computer_exec using a connected human's just-in-time ambient GitHub identity. Credentials never enter argv, workspace files, Git config, checkpoints, Events, logs, or receipts. A restored Computer deliberately keeps the checkout age of its snapshot, so fetch/pull before trusting remote state.
|
|
18752
|
+
6. VERIFY, PREVIEW, AND EXPORT. computer_verify captures a public URL directly without opening a project runtime. computer_publish_preview preserves immutable static output from either the parent or an active isolated write Run. computer_export moves bounded files into durable Thread Attachments; place returned Markdown exactly where the media belongs and cite the matching attachment ids.
|
|
18753
|
+
7. PACKAGE, DEPLOY, ACTIVATE, AND OPERATE APPS HERE. computer_publish_app_bundle creates the immutable executable bundle from verified parent bytes. Then use app_create, app_config_apply, app_deploy, app_deployment_get, app_activate, app_get, app_fetch/app_request, app_rollback, app_set_access, app_reset_state/app_restore_state, and app_archive as one workflow-closed release surface. First-class Organization/Profile Secrets remain on Arbor's collaboration MCP because they are broader identity-owned resources; App configuration here references existing Secret ids and never accepts or returns secret material.
|
|
18754
|
+
8. FINISH WHAT YOU START. Stop the parent after its final complete unit, finish every Run, and preserve evidence before teardown. When reporting collaboration conclusions through Arbor, pass the producing computerSessionId and attachmentIds to contribute or respond.
|
|
18755
|
+
9. CLOSE OUT ARBOR DOGFOOD. When developing Arbor through Arbor, ask: “Did Arbor itself create meaningful friction or require an Arbor-specific workaround?” If yes, apply the classifier above and privately capture one bounded report before closing the development loop; keep unrelated product friction out of the implementation Thread. If no, close normally without manufacturing feedback.`;
|
|
18729
18756
|
var PROSE_LISTS = exports_external.registry();
|
|
18730
18757
|
function proseList(description) {
|
|
18731
18758
|
const schema = exports_external.array(exports_external.string()).describe(description);
|
|
@@ -18875,7 +18902,7 @@ var ACTION_DEFINITIONS = [
|
|
|
18875
18902
|
{
|
|
18876
18903
|
name: "contribute_arbor_feedback",
|
|
18877
18904
|
title: "Privately contribute feedback about Arbor",
|
|
18878
|
-
description: "Privately
|
|
18905
|
+
description: "Privately capture one bounded report when Arbor itself caused meaningful product or ergonomics friction; do not use this for ordinary repository bugs, routine un-obscured provider failures, agent mistakes, or generic implementation difficulty. The body is never posted into the current Thread or shared forum; one incident should produce one report, with a stable idempotencyKey used only to retry that same submission.",
|
|
18879
18906
|
inputSchema: {
|
|
18880
18907
|
type: exports_external.enum(ARBOR_FEEDBACK_TYPES).optional().describe("the contribution move (default comment); decision is reserved for shared forum curation"),
|
|
18881
18908
|
body: exports_external.string().min(1).describe("the private feedback body"),
|
|
@@ -18890,6 +18917,17 @@ var ACTION_DEFINITIONS = [
|
|
|
18890
18917
|
toolset: "feedback",
|
|
18891
18918
|
run: forward("feedback.contribute")
|
|
18892
18919
|
},
|
|
18920
|
+
{
|
|
18921
|
+
name: "feedback_status",
|
|
18922
|
+
title: "Check your private Arbor feedback receipt",
|
|
18923
|
+
description: "READ ONLY: Check the useful lifecycle of one private Arbor feedback receipt you own. Missing and not-owned receipts look identical, and this returns no raw body, identities, moderator diagnostics, or shared association targets.",
|
|
18924
|
+
inputSchema: {
|
|
18925
|
+
feedbackId: exports_external.string().describe("your private Arbor feedback receipt id, fbk_…")
|
|
18926
|
+
},
|
|
18927
|
+
surfaces: ["mcp", "cli"],
|
|
18928
|
+
toolset: "feedback",
|
|
18929
|
+
run: forward("feedback.status")
|
|
18930
|
+
},
|
|
18893
18931
|
{
|
|
18894
18932
|
name: "admin_feedback_capability",
|
|
18895
18933
|
title: "Manage Arbor Feedback capabilities",
|
|
@@ -21577,7 +21615,8 @@ function buildInput(inputSchema, flags, command) {
|
|
|
21577
21615
|
var COMMAND_WORD_OVERRIDES = {
|
|
21578
21616
|
contribute_arbor_feedback: "feedback",
|
|
21579
21617
|
feedback_recall: "feedback find",
|
|
21580
|
-
feedback_thread_get: "feedback thread"
|
|
21618
|
+
feedback_thread_get: "feedback thread",
|
|
21619
|
+
feedback_status: "feedback status"
|
|
21581
21620
|
};
|
|
21582
21621
|
function commandWords(action) {
|
|
21583
21622
|
return COMMAND_WORD_OVERRIDES[action.name] ?? action.name.replace(/_/g, " ");
|
|
@@ -21589,6 +21628,7 @@ var POSITIONAL_FIELDS = {
|
|
|
21589
21628
|
contribute_arbor_feedback: ["body"],
|
|
21590
21629
|
feedback_recall: ["query"],
|
|
21591
21630
|
feedback_thread_get: ["threadId"],
|
|
21631
|
+
feedback_status: ["feedbackId"],
|
|
21592
21632
|
admin_feedback_capability: ["verb"],
|
|
21593
21633
|
admin_feedback_evidence: ["verb"],
|
|
21594
21634
|
admin_feedback_topic: ["action"],
|
package/package.json
CHANGED