@moretea-labs/forge 1.8.1 → 1.8.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/AGENTS.md +5 -2
- package/CHANGELOG.md +20 -0
- package/README.en.md +24 -3
- package/README.md +10 -6
- package/README.zh-CN.md +5 -3
- package/THIRD_PARTY_NOTICES.md +1 -2
- package/adapters/chatgpt/browser-delivery-runtime.ts +5 -3
- package/adapters/chatgpt/provider-delivery.ts +1 -1
- package/adapters/chatgpt/work-conversation-binding-store.ts +20 -1
- package/adapters/computer/chatgpt-extension-target.ts +295 -50
- package/adapters/computer/chrome-extension/background.js +227 -71
- package/adapters/computer/chrome-extension/content.js +181 -157
- package/adapters/computer/chrome-extension/manifest.json +3 -1
- package/adapters/computer/desktop-operator-provider.ts +18 -6
- package/adapters/computer/interaction-target-authority.ts +39 -9
- package/adapters/mcp/access-mode.ts +18 -39
- package/adapters/mcp/auth.ts +2 -6
- package/adapters/mcp/instructions.ts +2 -2
- package/adapters/mcp/multi-repository.ts +7 -28
- package/adapters/mcp/runtime-gateway/context-adapter.ts +79 -40
- package/adapters/mcp/runtime-gateway/context-pack-sidecar.ts +7 -15
- package/adapters/mcp/runtime-gateway/execution-tools.ts +7 -13
- package/adapters/mcp/runtime-gateway/plugin-adapter.ts +16 -3
- package/adapters/mcp/runtime-gateway/process-tools.ts +3 -21
- package/adapters/mcp/runtime-gateway/router.ts +3 -5
- package/adapters/mcp/runtime-gateway/routing-policy.ts +17 -10
- package/adapters/mcp/runtime-gateway/runtime-observation-adapter.ts +1 -1
- package/adapters/mcp/runtime-gateway/runtime-tool-definitions.ts +14 -9
- package/adapters/mcp/runtime-gateway/runtime-tools.ts +1 -5
- package/adapters/mcp/runtime-gateway/scheduler-adapter.ts +36 -1
- package/adapters/mcp/runtime-gateway/status-inbox-adapter.ts +58 -4
- package/adapters/mcp/runtime-gateway/typescript-navigation-sidecar.ts +7 -3
- package/adapters/mcp/runtime-gateway/work-adapter.ts +16 -16
- package/adapters/mcp/runtime-gateway/work-input-wire-migration.ts +0 -17
- package/adapters/mcp/runtime-gateway/work-semantic-operations.ts +69 -12
- package/adapters/mcp/runtime-gateway/workflow-supervisor-adapter.ts +26 -2
- package/adapters/mcp/server.ts +24 -3
- package/adapters/mcp/setup.ts +4 -10
- package/adapters/mcp/tool-mapping/access-tools.ts +0 -6
- package/adapters/mcp/tool-mapping/legacy-tool-service.ts +672 -2935
- package/adapters/mcp/tool-mapping/post-finalize-work-attribution.ts +1 -1
- package/adapters/mcp/tool-mapping/repository-tools.ts +52 -86
- package/adapters/mcp/toolset-names.ts +11 -42
- package/adapters/mcp/toolset.ts +16 -90
- package/{src/cli → adapters}/mcp/transports/AGENTS.md +5 -5
- package/{src/cli → adapters}/mcp/transports/CLAUDE.md +5 -5
- package/adapters/mcp/transports/http-observation.ts +18 -6
- package/adapters/mcp/transports/http-post-lifecycle.ts +19 -0
- package/adapters/mcp/transports/http.ts +54 -14
- package/adapters/mcp/types.ts +0 -6
- package/assets/hooks/lib/session-state.sh +0 -38
- package/assets/hooks/post-bash.sh +1 -1
- package/assets/hooks/post-tool-observer.sh +0 -5
- package/assets/hooks/prompt-guard.sh +0 -55
- package/assets/partials/04-project-structure.partial.md +1 -1
- package/assets/partials/07-footer.partial.md +1 -1
- package/assets/partials-agents/02-operating-mode.partial.md +1 -1
- package/assets/partials-agents/08-deep-docs.partial.md +1 -1
- package/assets/reference-configs/agentic-development-flow.md +1 -1
- package/assets/reference-configs/external-tooling.md +0 -76
- package/assets/reference-configs/release-deploy.md +1 -1
- package/assets/templates/helpers/architecture-queue.sh +1 -1
- package/assets/templates/helpers/check-agent-tooling.sh +1 -327
- package/assets/templates/helpers/check-task-workflow.sh +1 -1
- package/assets/templates/helpers/ensure-task-workflow.sh +0 -14
- package/assets/templates/helpers/migrate-project-template.sh +2 -2
- package/assets/workflow-contract.v1.json +0 -2
- package/docs/README.md +5 -2
- package/docs/architecture/CURRENT.md +114 -30
- package/docs/architecture/decisions/20260904-ios-device-migration-baseline.md +42 -0
- package/docs/architecture/decisions/20260918-stable-candidate-release-lifecycle.md +15 -2
- package/docs/architecture/decisions/20260924-thin-semantic-working-context.md +4 -2
- package/docs/architecture/decisions/20261001-supervisor-turn-authority.md +109 -4
- package/docs/architecture/decisions/20261009-exact-code-context-discovery.md +19 -0
- package/docs/architecture/decisions/20261009-generated-xcode-cache-retention.md +37 -0
- package/docs/architecture/decisions/20261011-autonomous-continuation-convergence.md +597 -0
- package/docs/architecture/decisions/20261017-edit-session-finalization-reconciliation.md +17 -0
- package/docs/architecture/decisions/20261019-retire-host-skills.md +16 -0
- package/docs/architecture/diagrams/agentic-dev-plugin-architecture.html +1 -1
- package/docs/architecture/domains/public-surface.md +3 -5
- package/docs/architecture/domains/verification.md +5 -5
- package/docs/architecture/modules/controller-runtime/transport-lifecycle.md +2 -2
- package/docs/architecture/requests/2026-09-04-computer-plugin-workflow-taxonomy.md +4 -4
- package/docs/architecture/reviews/20261015-code-search-runtime-acceptance.md +75 -0
- package/docs/forge-plugin-management.md +14 -2
- package/docs/operations/controller-browser-plugin.md +23 -0
- package/docs/operations/features.md +6 -7
- package/docs/operations/features.zh-CN.md +1 -1
- package/docs/operations/github-repository.md +4 -4
- package/docs/operations/github-semantic-release-projection.md +20 -0
- package/docs/operations/homebrew.md +2 -2
- package/docs/operations/mcp-tool-exposure.md +13 -54
- package/docs/operations/runtime-performance-diagnostics.md +8 -0
- package/docs/operations/standalone-disaster-recovery.md +1 -1
- package/docs/tutorials/01-install-and-start.zh-CN.md +1 -1
- package/docs/tutorials/03-first-repository-task.md +2 -0
- package/docs/wiki/Computer-and-Plugins.md +78 -0
- package/docs/wiki/Computer-and-Plugins.zh-CN.md +88 -0
- package/docs/wiki/Home.md +16 -2
- package/docs/wiki/Implementation.md +24 -12
- package/docs/wiki/Installation.md +28 -32
- package/docs/wiki/Integrations.md +4 -0
- package/docs/wiki/Quick-Start.md +35 -22
- package/docs/wiki/Releases-and-Upgrades.md +15 -25
- package/docs/wiki/_Sidebar.md +5 -1
- package/package.json +1 -12
- package/packages/kernel/controller/infrastructure/controller-session-store.ts +63 -38
- package/packages/kernel/identity/infrastructure/activity-projection-store.ts +10 -0
- package/packages/kernel/scheduler/application/eligibility.ts +4 -1
- package/packages/kernel/scheduler/infrastructure/schedule-store.ts +13 -10
- package/packages/kernel/work/application/work-service.ts +1 -0
- package/packages/kernel/work/domain/repository-completion-receipt.ts +1 -1
- package/packages/kernel/work/domain/state-machine.ts +9 -2
- package/packages/kernel/work/infrastructure/work-contract-store.ts +28 -1
- package/packages/plugin-runtime/browser/provider-registry.ts +12 -36
- package/packages/plugin-runtime/computer/conversation-target.ts +17 -7
- package/scripts/assemble-template.ts +11 -72
- package/scripts/check-mcp-compatibility.ts +55 -74
- package/scripts/check-package-identity.mjs +0 -5
- package/scripts/check-runtime-architecture.mjs +305 -28
- package/scripts/init-project.sh +0 -46
- package/scripts/install-ios-hid-toolchain.sh +60 -0
- package/scripts/install-standalone-recovery.ts +1 -1
- package/scripts/lib/project-init-lib.sh +3 -3
- package/scripts/migrate-windows-wsl-controller-home.ts +2 -0
- package/scripts/open-source-audit-allowlist.txt +0 -1
- package/scripts/run-governed-gate.ts +2 -0
- package/scripts/smoke-ios-physical-device.ts +38 -10
- package/scripts/smoke-mcp-http-runtime.ts +7 -8
- package/scripts/smoke-mcp-tool-surface.ts +27 -41
- package/scripts/smoke-workflow-supervisor-chrome-adapter.ts +6 -3
- package/scripts/sync-generated-authority.mjs +0 -1
- package/src/cli/agent-jobs/executor-health.ts +1 -1
- package/src/cli/agent-jobs/integration.ts +2 -2
- package/src/cli/chatgpt-browser/file-policy.ts +2 -2
- package/src/cli/commands/doctor.ts +1 -143
- package/src/cli/commands/global-runtime.ts +3 -196
- package/src/cli/commands/init-hook.ts +6 -23
- package/src/cli/commands/init.ts +3 -252
- package/src/cli/commands/mcp.ts +0 -5
- package/src/cli/commands/prompt-guard-decision.ts +0 -2
- package/src/cli/commands/recovery.ts +2 -14
- package/src/cli/commands/repository.ts +17 -1
- package/src/cli/commands/setup-execution.ts +41 -0
- package/src/cli/controller/completion-orchestrator.ts +1 -1
- package/src/cli/controller/composite-operations.ts +1 -1
- package/src/cli/controller/context/instruction-context.ts +1 -1
- package/src/cli/controller/context/known-paths.ts +2 -2
- package/src/cli/controller/context/query-planning.ts +11 -4
- package/src/cli/controller/context/rule-resolution.ts +2 -2
- package/src/cli/controller/context/source-materializer.ts +2 -2
- package/src/cli/controller/context/structural-provider.ts +84 -0
- package/src/cli/controller/context/structural.ts +6 -6
- package/src/cli/controller/context/types.ts +8 -9
- package/src/cli/controller/context-pack.ts +97 -76
- package/src/cli/controller/operational-plan.ts +1 -1
- package/src/cli/controller/systemd-user.ts +4 -10
- package/src/cli/editing/edit-session.ts +17 -5
- package/src/cli/github/github.ts +4 -4
- package/src/cli/github/semantic-projection.ts +174 -0
- package/src/cli/hook/prompt-intents.ts +0 -9
- package/src/cli/index.ts +1 -43
- package/src/cli/local-bridge/connector-freshness.ts +1 -12
- package/src/cli/local-bridge/console-automations.ts +1 -1
- package/src/cli/local-bridge/console-view-models.ts +1 -1
- package/src/cli/local-bridge/facade-api.ts +0 -2
- package/src/cli/repositories/command-classifier.ts +0 -9
- package/src/cli/repositories/command-scope.ts +2 -2
- package/src/cli/repositories/locks.ts +20 -0
- package/src/cli/repositories/registry.ts +2 -1
- package/src/cli/repositories/safe-patch.ts +2 -12
- package/src/cli/repositories/structured-git.ts +39 -3
- package/src/cli/repository/inspector.ts +185 -343
- package/src/effects/process-runner.ts +17 -1
- package/src/runtime/context/generic-lsp-provider.ts +1 -1
- package/src/runtime/context/semantic-navigation-contract.ts +7 -0
- package/src/runtime/context/semantic-navigation.ts +1 -1
- package/src/runtime/control-plane/cleanup-artifact-retention.ts +4 -4
- package/src/runtime/control-plane/execution/work-delivery-service.ts +150 -31
- package/src/runtime/control-plane/execution/work-handle-authority.ts +12 -4
- package/src/runtime/control-plane/execution/work-handle-store.ts +53 -1
- package/src/runtime/control-plane/execution/work-operation-service.ts +20 -10
- package/src/runtime/control-plane/execution/work-preparation-service.ts +108 -4
- package/src/runtime/control-plane/execution/work-process-evidence.ts +2 -2
- package/src/runtime/control-plane/execution/work-terminal-cleanup.ts +28 -13
- package/src/runtime/control-plane/execution/work-validation-reconciler.ts +5 -1
- package/src/runtime/control-plane/execution/work-verification-snapshot.ts +1 -1
- package/src/runtime/control-plane/facade/capability-registry.ts +2 -0
- package/src/runtime/control-plane/facade/work-continuation.ts +1 -1
- package/src/runtime/control-plane/generated-cache-retention.ts +114 -63
- package/src/runtime/control-plane/global-scheduler/maintenance.ts +20 -8
- package/src/runtime/control-plane/global-scheduler/reconciliation.ts +1 -11
- package/src/runtime/control-plane/governance/external-effects.ts +1 -1
- package/src/runtime/control-plane/launcher/chatgpt-work-continuation.ts +1 -0
- package/src/runtime/control-plane/runtime-cleanup.ts +12 -93
- package/src/runtime/evidence/sensitive-output.ts +22 -2
- package/src/runtime/execution/jobs/child-reference.ts +11 -0
- package/src/runtime/execution/jobs/receipt-recovery.ts +1 -11
- package/src/runtime/execution/process-runtime/command-facade.ts +3 -3
- package/src/runtime/execution/process-runtime/runtime.ts +20 -16
- package/src/runtime/execution/thin-harness/execution-router.ts +16 -16
- package/src/runtime/execution/thin-harness/fast-executor.ts +2 -2
- package/src/runtime/execution/thin-harness/search-worker.ts +2 -2
- package/src/runtime/execution/workers/executor.ts +1 -2
- package/src/runtime/maintenance/cleanup.ts +41 -5
- package/src/runtime/plugins/action-application.ts +12 -1
- package/src/runtime/plugins/app-store-connect-adapter.ts +252 -4
- package/src/runtime/plugins/browser-adapter.ts +381 -313
- package/src/runtime/plugins/browser-macos-bridge.ts +114 -112
- package/src/runtime/plugins/browser-manifest-surface.ts +2 -1
- package/src/runtime/plugins/browser-registration.ts +2 -0
- package/src/runtime/plugins/browser-runtime.ts +26 -35
- package/src/runtime/plugins/computer-chatgpt-browser-adapter-installer.ts +11 -2
- package/src/runtime/plugins/computer-registration.ts +76 -9
- package/src/runtime/plugins/github-adapter.ts +30 -3
- package/src/runtime/plugins/gmail-adapter.ts +166 -1
- package/src/runtime/plugins/google-shared.ts +10 -5
- package/src/runtime/plugins/ios/remote-xpc-hid.ts +70 -30
- package/src/runtime/plugins/ios-adapter.ts +45 -40
- package/src/runtime/plugins/ios-agent-device.ts +54 -4
- package/src/runtime/plugins/ios-device-ownership.ts +103 -0
- package/src/runtime/plugins/ios-physical-device.ts +497 -79
- package/src/runtime/plugins/local-system-adapter.ts +1 -99
- package/src/runtime/plugins/store.ts +80 -7
- package/src/runtime/plugins/types.ts +4 -0
- package/src/runtime/projections/git-status-sampler.ts +2 -19
- package/src/runtime/recovery/actions.ts +1 -1
- package/src/runtime/recovery/lifecycle-inventory.ts +1 -11
- package/src/runtime/recovery/probe.ts +2 -2
- package/src/runtime/release/release-coordinator.ts +20 -4
- package/src/runtime/root/controller-progression-composition.ts +67 -5
- package/src/runtime/root/package-connector-service.ts +123 -11
- package/src/runtime/root/package-runtime-release.ts +6 -18
- package/src/runtime/root/package-runtime-service.ts +7 -13
- package/src/runtime/root/release-execution-canary.ts +18 -5
- package/src/runtime/root/release-manifest.ts +0 -34
- package/src/runtime/root/release-materialize.ts +0 -78
- package/src/runtime/root/runtime.ts +1 -2
- package/src/runtime/root/scheduled-controller-composition.ts +2 -1
- package/src/runtime/root/service.ts +90 -11
- package/src/runtime/root/types.ts +0 -6
- package/src/runtime/root/workflow-supervisor-composition.ts +207 -19
- package/src/runtime/root/workflow-supervisor-runtime.ts +365 -10
- package/src/runtime/safe-tooling/google-credential-store.ts +1 -11
- package/src/runtime/safe-tooling/ios-development.ts +22 -8
- package/src/runtime/safe-tooling/job-summary.ts +1 -1
- package/src/runtime/safe-tooling/workspace-auth.ts +4 -1
- package/src/runtime/shared/atomic-text-file.ts +21 -0
- package/src/runtime/shared/json-files.ts +8 -3
- package/src/runtime/standalone-recovery/core.ts +189 -174
- package/src/runtime/standalone-recovery/entry.ts +62 -30
- package/src/runtime/standalone-recovery/operation-lock.ts +11 -1
- package/src/runtime/workflow/schedules/chatgpt-automation-migration.ts +1 -0
- package/src/runtime/workflow/schedules/engine.ts +36 -14
- package/src/runtime/workflow/schedules/pending-activation.ts +11 -4
- package/src/runtime/workflow/schedules/work-continuation.ts +51 -6
- package/supervisor/client.ts +31 -14
- package/supervisor/control-plane.ts +210 -115
- package/supervisor/forge-validators.ts +88 -21
- package/supervisor/native-browser-adapter.ts +393 -28
- package/supervisor/native-messaging/host.ts +21 -2
- package/supervisor/protocol.ts +74 -26
- package/supervisor/server.ts +16 -8
- package/supervisor/store.ts +476 -57
- package/supervisor/types.ts +19 -13
- package/SKILL.md +0 -427
- package/adapters/computer/chatgpt-target-router.ts +0 -103
- package/adapters/mcp/runtime-gateway/automation-receipt-adapter.ts +0 -87
- package/adapters/mcp/runtime-gateway/work-validation-reconciler.ts +0 -1
- package/adapters/mcp/toolset-selection.ts +0 -41
- package/agents/openai.yaml +0 -4
- package/assets/skill-hooks.json +0 -41
- package/assets/skill-version.json +0 -189
- package/assets/skills/claude-review/SKILL.md +0 -231
- package/assets/skills/codex-review/SKILL.md +0 -103
- package/assets/templates/helpers/check-skill-version.ts +0 -193
- package/scripts/check-skill-version.ts +0 -5
- package/scripts/ensure-codegraph.sh +0 -16
- package/scripts/run-skill-hook.ts +0 -244
- package/scripts/sync-codex-installed-copies.sh +0 -182
- package/src/cli/commands/tools.ts +0 -167
- package/src/cli/mcp/access-mode.ts +0 -2
- package/src/cli/mcp/access-tools.ts +0 -2
- package/src/cli/mcp/audit.ts +0 -2
- package/src/cli/mcp/auth.ts +0 -2
- package/src/cli/mcp/instructions.ts +0 -2
- package/src/cli/mcp/legacy-context.ts +0 -2
- package/src/cli/mcp/legacy-tool-service.ts +0 -2
- package/src/cli/mcp/multi-repository.ts +0 -2
- package/src/cli/mcp/oauth.ts +0 -2
- package/src/cli/mcp/openai-secure-tunnel.ts +0 -2
- package/src/cli/mcp/paths.ts +0 -2
- package/src/cli/mcp/policy.ts +0 -2
- package/src/cli/mcp/post-finalize-work-attribution.ts +0 -2
- package/src/cli/mcp/proxy-env.ts +0 -2
- package/src/cli/mcp/readiness-projection.ts +0 -2
- package/src/cli/mcp/redaction.ts +0 -2
- package/src/cli/mcp/repo.ts +0 -2
- package/src/cli/mcp/repository-tools.ts +0 -2
- package/src/cli/mcp/server.ts +0 -2
- package/src/cli/mcp/setup.ts +0 -2
- package/src/cli/mcp/tool-capability-cache.ts +0 -2
- package/src/cli/mcp/tool-contract.ts +0 -2
- package/src/cli/mcp/tools.ts +0 -2
- package/src/cli/mcp/toolset-names.ts +0 -2
- package/src/cli/mcp/toolset-selection.ts +0 -2
- package/src/cli/mcp/toolset.ts +0 -2
- package/src/cli/mcp/transports/http.ts +0 -2
- package/src/cli/mcp/transports/session-registry.ts +0 -2
- package/src/cli/mcp/transports/stdio.ts +0 -2
- package/src/cli/mcp/types.ts +0 -2
- package/src/cli/mcp/umbrella-tools.ts +0 -2
- package/src/cli/tools/codegraph.ts +0 -695
- package/src/core/adoption/helper-wrapper-plan.ts +0 -159
- package/src/runtime/context/codegraph-cache-boundary.ts +0 -255
- package/src/runtime/context/codegraph-read-provider.ts +0 -611
- package/src/runtime/context/codegraph-sidecar.cjs +0 -248
- package/src/runtime/control-plane/codegraph-cache-retention.ts +0 -164
- package/src/runtime/gateway/mcp/execution-tools.ts +0 -2
- package/src/runtime/gateway/mcp/legacy-ios-tool-adapter.ts +0 -2
- package/src/runtime/gateway/mcp/persisted-check-process.ts +0 -2
- package/src/runtime/gateway/mcp/process-tools.ts +0 -2
- package/src/runtime/gateway/mcp/router.ts +0 -2
- package/src/runtime/gateway/mcp/runtime-tool-definitions.ts +0 -2
- package/src/runtime/gateway/mcp/runtime-tools.ts +0 -2
- package/src/runtime/gateway/mcp/work-validation-reconciler.ts +0 -2
- package/src/runtime/plugins/browser-provider-registry.ts +0 -2
- package/src/runtime/plugins/computer-chatgpt-macos-target.ts +0 -891
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Computer and Plugin Setup — macOS desktop, Browser, Design, Knowledge, Figma
|
|
2
|
+
|
|
3
|
+
Forge includes a typed **Computer** capability for local-machine tasks and a separate **Browser** capability for websites. ChatGPT (or a selected MCP client) decides actions; Forge enforces permissions and reports evidence. Installing Forge's CLI does not automatically update independently released providers.
|
|
4
|
+
|
|
5
|
+
## Quick setup on macOS
|
|
6
|
+
|
|
7
|
+
Install or upgrade the Forge CLI first:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g @moretea-labs/forge@latest
|
|
11
|
+
forge --version
|
|
12
|
+
forge setup next
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
Then install the pinned native Computer provider and verify its health:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
forge computer setup
|
|
19
|
+
forge computer doctor
|
|
20
|
+
forge computer status --json
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
For an **already installed** Computer provider, run `forge computer update` to install the provider release pinned by the current Forge catalog. If no newer compatible pin exists, this does not upgrade to an arbitrary GitHub tip. Complete any macOS Accessibility / Screen Recording permission prompts that the native provider requires, then re-run `forge computer doctor`. Only macOS currently has the catalogued native Desktop Operator provider; Linux/Windows users should not run `forge computer setup` expecting macOS desktop control.
|
|
24
|
+
|
|
25
|
+
Computer's provider is **Forge Desktop Operator** (catalog tag `v0.4.5`). Computer can observe and interact with the macOS desktop, request capture and element operations, and use native console-unlock capabilities where authorized. Browser navigation/DOM and web sessions remain a separately owned Browser surface, not a second copy of Desktop Operator authority.
|
|
26
|
+
|
|
27
|
+
## Other official providers
|
|
28
|
+
|
|
29
|
+
Review available, platform-compatible pinned releases first:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
forge plugin catalog
|
|
33
|
+
forge plugin list --refresh
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
| Plugin ID | Purpose | Pinned catalog tag | Supported installation hosts |
|
|
37
|
+
| --- | --- | --- | --- |
|
|
38
|
+
| `desktop_operator` | Native Computer provider (use `forge computer` commands) | `v0.4.5` | macOS |
|
|
39
|
+
| `design` | Repository-local design workspace and design artifacts | `v0.3.0` | macOS / Linux / Windows |
|
|
40
|
+
| `personal_knowledge` | Local personal-knowledge retrieval and safe operations | `v0.2.1` | macOS / Linux / Windows |
|
|
41
|
+
| `figma` | Figma plugin bridge and typed canvas operations | `v0.3.0` | macOS |
|
|
42
|
+
|
|
43
|
+
Install only what you need:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
forge plugin install design
|
|
47
|
+
forge plugin install personal_knowledge
|
|
48
|
+
forge plugin install figma # macOS; requires its Figma bridge to be running
|
|
49
|
+
forge plugin list --refresh
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Re-running a provider's `forge plugin install <id>` uses the version pinned by the installed Forge catalog. Provider health can be `degraded` if the target app, local socket, native permission, browser session, or service authentication is missing. An install receipt alone is **not** proof of an operational provider. Figma and other app-specific bridges need their own app/bridge setup before typed calls become ready.
|
|
53
|
+
|
|
54
|
+
## How to use from ChatGPT
|
|
55
|
+
|
|
56
|
+
After [connecting ChatGPT to Forge MCP](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.md), ask for a bounded goal:
|
|
57
|
+
|
|
58
|
+
- “Inspect the currently open Chrome page, check form fields, and report what is wrong.”
|
|
59
|
+
- “Read the authorized Finder folder, organize the documents, and show me the result.”
|
|
60
|
+
- “Use Computer to observe this app and take a screenshot before changing anything.”
|
|
61
|
+
- “Inspect the design workspace and prepare a reviewable design artifact.”
|
|
62
|
+
- “Search my connected local knowledge base for the project decision.” (requires `personal_knowledge` to be ready)
|
|
63
|
+
- “Inspect this open Figma file and tell me which components need review.” (requires a working Figma bridge)
|
|
64
|
+
|
|
65
|
+
Each provider has its **own** authorization and readiness. Avoid assuming desktop control or website mutation is allowed solely because the MCP connector responds.
|
|
66
|
+
|
|
67
|
+
## Diagnostics
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
forge computer status --json
|
|
71
|
+
forge computer doctor
|
|
72
|
+
forge plugin list --refresh
|
|
73
|
+
forge doctor
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
If Browser readiness mentions Playwright, ensure the selected Browser attach mode and its browser dependencies are configured; native Chrome/Vivaldi attachment and managed Playwright browsing have different requirements. If Computer is not ready, resolve the reported macOS permissions/native provider state; if Figma reports a missing socket, start/configure the Figma bridge rather than repeatedly reinstalling Forge.
|
|
77
|
+
|
|
78
|
+
More detail: [Plugin Management](https://github.com/moretea-labs/forge/blob/main/docs/forge-plugin-management.md), [Browser runbook](https://github.com/moretea-labs/forge/blob/main/docs/operations/controller-browser-plugin.md), and [Security Model](Security-Model).
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# Forge Computer 与官方插件中文使用指南
|
|
2
|
+
|
|
3
|
+
Forge 是本地优先的 **ChatGPT MCP 执行工具**:由 ChatGPT 理解任务和决定下一步,Forge 管理权限、执行与证据。Forge 的主程序和独立 Provider **不是同一个升级渠道**。
|
|
4
|
+
|
|
5
|
+
## 第一步:安装 Forge,连接 ChatGPT
|
|
6
|
+
|
|
7
|
+
基础要求:Node.js 20.10+、npm(或 Bun),macOS / Linux 或 Windows WSL2。打开终端:
|
|
8
|
+
|
|
9
|
+
~~~bash
|
|
10
|
+
npm install -g @moretea-labs/forge@latest
|
|
11
|
+
forge --version
|
|
12
|
+
forge setup
|
|
13
|
+
forge setup configure --controller chatgpt --tunnel auto
|
|
14
|
+
forge setup next
|
|
15
|
+
~~~
|
|
16
|
+
|
|
17
|
+
按程序提示完成 Package Runtime 和 ChatGPT MCP 连接。详见[连接 ChatGPT 中文教程](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.zh-CN.md)。
|
|
18
|
+
|
|
19
|
+
## 第二步:macOS 安装 Computer
|
|
20
|
+
|
|
21
|
+
~~~bash
|
|
22
|
+
forge computer setup
|
|
23
|
+
forge computer doctor
|
|
24
|
+
forge computer status --json
|
|
25
|
+
~~~
|
|
26
|
+
|
|
27
|
+
已经安装 Computer 的用户可以更新到当前 Forge 官方目录固定的版本:
|
|
28
|
+
|
|
29
|
+
~~~bash
|
|
30
|
+
forge computer update
|
|
31
|
+
forge computer doctor
|
|
32
|
+
~~~
|
|
33
|
+
|
|
34
|
+
Computer 原生实现是 [Forge Desktop Operator](https://github.com/moretea-labs/forge-desktop-operator),Forge v1.8.1 官方目录固定版本为 **v0.4.5**。使用桌面观察、截图、点击、输入时,macOS 可能需要手动授予**辅助功能**和**屏幕录制**权限。
|
|
35
|
+
|
|
36
|
+
**Linux/Windows 没有这款 macOS 原生 Computer Provider**;不要把内置的文件/浏览器能力误认作跨平台原生桌面控制。Browser 使用独立的浏览器会话和权限边界。
|
|
37
|
+
|
|
38
|
+
## 第三步:按需要安装插件
|
|
39
|
+
|
|
40
|
+
先检查当前官方目录与已安装插件:
|
|
41
|
+
|
|
42
|
+
~~~bash
|
|
43
|
+
forge plugin catalog
|
|
44
|
+
forge plugin list --refresh
|
|
45
|
+
~~~
|
|
46
|
+
|
|
47
|
+
| 插件 | v1.8.1 固定版本 | 用途 | 平台 |
|
|
48
|
+
| --- | --- | --- | --- |
|
|
49
|
+
| Computer / Desktop Operator | v0.4.5 | 原生桌面观察与交互 | macOS |
|
|
50
|
+
| Forge Design | v0.3.0 | 仓库设计工作区与设计产物 | macOS / Linux / Windows |
|
|
51
|
+
| Personal Knowledge Assistant | v0.2.1 | 本地知识检索、安全写入 | macOS / Linux / Windows |
|
|
52
|
+
| Forge Figma Bridge | v0.3.0 | Figma 画布与组件操作 | macOS |
|
|
53
|
+
|
|
54
|
+
按需执行安装,**不必全部安装**:
|
|
55
|
+
|
|
56
|
+
~~~bash
|
|
57
|
+
forge plugin install design
|
|
58
|
+
forge plugin install personal_knowledge
|
|
59
|
+
forge plugin install figma
|
|
60
|
+
forge plugin list --refresh
|
|
61
|
+
~~~
|
|
62
|
+
|
|
63
|
+
Figma Bridge 还需要相应 Figma 插件与本地服务运行。插件安装成功不代表健康状态就绪;如果显示 degraded,应根据诊断信息检查应用、授权、Socket、浏览器连接或依赖。
|
|
64
|
+
|
|
65
|
+
## 第四步:在 ChatGPT 中实际使用
|
|
66
|
+
|
|
67
|
+
连接 Forge MCP 并授权目标资源后,直接用自然语言描述任务:
|
|
68
|
+
|
|
69
|
+
- “检查当前 Chrome 页面中的表单字段,先报告问题,不要提交。”
|
|
70
|
+
- “观察 Mac 当前桌面应用,截图并告诉我界面有什么异常。”
|
|
71
|
+
- “整理这个已授权文件夹里的文档,并列出更改前后情况。”
|
|
72
|
+
- “在已连接的本地知识库里搜索上次的架构决策。”
|
|
73
|
+
- “查看当前 Figma 文件的组件结构。”(需要 Figma Bridge 健康就绪)
|
|
74
|
+
|
|
75
|
+
Forge 不会因为连接成功就允许不受限的远程写入、破坏性操作、密钥获取或越权访问。
|
|
76
|
+
|
|
77
|
+
## 第五步:升级和排查
|
|
78
|
+
|
|
79
|
+
~~~bash
|
|
80
|
+
npm install -g @moretea-labs/forge@latest
|
|
81
|
+
forge setup next
|
|
82
|
+
forge computer update # 仅 macOS
|
|
83
|
+
forge computer doctor # 仅 macOS
|
|
84
|
+
forge plugin list --refresh
|
|
85
|
+
forge doctor
|
|
86
|
+
~~~
|
|
87
|
+
|
|
88
|
+
[English Computer Guide](Computer-and-Plugins) · [插件管理](https://github.com/moretea-labs/forge/blob/main/docs/forge-plugin-management.md) · [平台支持说明](https://github.com/moretea-labs/forge/blob/main/docs/operations/platform-support.zh-CN.md)
|
package/docs/wiki/Home.md
CHANGED
|
@@ -1,6 +1,19 @@
|
|
|
1
|
-
# Forge Wiki
|
|
1
|
+
# Forge Wiki — ChatGPT MCP for local computer and software tasks
|
|
2
2
|
|
|
3
|
-
Forge is a local-first action
|
|
3
|
+
Forge is a local-first, permission-scoped MCP action runtime for ChatGPT and other explicitly selected external controllers. It gives ChatGPT durable execution tools for local files, Git repositories, browsers, and authorized services—**without putting an additional AI agent inside Forge**. The product is intentionally Direct-first: ordinary bounded work stays lightweight, while Process Runtime, Work, worktrees, scheduling, and Recovery exist for the cases that actually need lifecycle or isolation.
|
|
4
|
+
|
|
5
|
+
## Get started with the latest stable version
|
|
6
|
+
|
|
7
|
+
Install [Forge v1.8.1](https://github.com/moretea-labs/forge/releases/tag/v1.8.1) from [npm](https://www.npmjs.com/package/@moretea-labs/forge):
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g @moretea-labs/forge@latest
|
|
11
|
+
forge setup
|
|
12
|
+
forge setup configure --controller chatgpt --tunnel auto
|
|
13
|
+
forge setup next
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
macOS and Linux are supported; WSL2 is the recommended Windows path. Native Windows remains a preview. For upgrades and service setup, see [Installation](Installation).
|
|
4
17
|
|
|
5
18
|
## Start here
|
|
6
19
|
|
|
@@ -12,6 +25,7 @@ Forge is a local-first action assistant that gives ChatGPT a durable, policy-bou
|
|
|
12
25
|
- Runtime behavior: [Runtime Architecture](Runtime-Architecture)
|
|
13
26
|
- Source implementation map: [Implementation](Implementation)
|
|
14
27
|
- Run and recover the service: [Operations](Operations)
|
|
28
|
+
- Computer and provider setup: [Computer and Plugins](Computer-and-Plugins) · [中文教程](Computer-and-Plugins.zh-CN)
|
|
15
29
|
- Optional capabilities: [Integrations](Integrations)
|
|
16
30
|
- Diagnose a problem: [Troubleshooting](Troubleshooting)
|
|
17
31
|
- Trust boundaries: [Security Model](Security-Model)
|
|
@@ -7,15 +7,15 @@ This page maps the public Forge model to the current source tree. It is an imple
|
|
|
7
7
|
Primary code:
|
|
8
8
|
|
|
9
9
|
```text
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
adapters/mcp/server.ts
|
|
11
|
+
adapters/mcp/toolset-names.ts
|
|
12
|
+
adapters/mcp/tool-mapping/repository-tools.ts
|
|
13
|
+
adapters/mcp/transports/http.ts
|
|
14
|
+
adapters/mcp/transports/session-registry.ts
|
|
15
|
+
adapters/mcp/runtime-gateway/
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
`toolset-names.ts` defines the bounded default connector surface. The
|
|
18
|
+
`toolset-names.ts` defines the bounded default connector surface. The six facade tools come from `src/runtime/control-plane/facade/types.ts`; repository, patch, check, Process, plugin-dispatch, and result tools bring the current default to 20.
|
|
19
19
|
|
|
20
20
|
The HTTP transport owns authentication and protocol-era routing. MCP 2026-07-28 is the canonical public path: `createMcpHandler` serves each modern request without `Mcp-Session-Id`. `McpSessionRegistry` is retained only for explicit 2025-era compatibility, where it owns session capacity, active-request protection, stream leases, replacement, and close accounting. Durable Work/Process/ControllerRound authority never comes from either transport form. Controller capability rotation and legacy-owner upgrades are Runtime recovery mechanics; ordinary model-facing Work operations neither expose nor require `controller_claim`. Legacy tool-surface mismatches still return a recoverable reinitialize response; modern requests resolve the current Runtime schema per request.
|
|
21
21
|
|
|
@@ -29,7 +29,7 @@ src/cli/repositories/ephemeral-workspace.ts
|
|
|
29
29
|
src/runtime/control-plane/execution/execution-identity.ts
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
Registered work is resolved to `repoId` plus `checkoutId`. Git top-level/common-directory checks prevent a caller from supplying a different checkout through `cwd`. `ephemeral-workspace.ts` represents the separate explicit authority for an existing unregistered local directory.
|
|
32
|
+
Registered work is resolved to `repoId` plus `checkoutId`. Git top-level/common-directory checks prevent a caller from supplying a different checkout through `cwd`. `ephemeral-workspace.ts` represents the separate explicit authority for an existing unregistered local directory. `src/cli/repositories/structured-git.ts` partitions porcelain status once; `src/runtime/projections/git-status-sampler.ts` uses that parser for its sampled projection rather than maintaining an independent classification.
|
|
33
33
|
|
|
34
34
|
## 3. Context and source access
|
|
35
35
|
|
|
@@ -51,10 +51,10 @@ Primary code:
|
|
|
51
51
|
|
|
52
52
|
```text
|
|
53
53
|
src/cli/editing/edit-session.ts
|
|
54
|
-
|
|
54
|
+
adapters/mcp/tool-mapping/repository-tools.ts
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
A bounded patch can be applied directly to the selected checkout with file fingerprints, revisions, savepoints, change budgets, and focused verification. Direct Edit is the default for understood small work; a Plan or worktree is not a prerequisite.
|
|
57
|
+
A bounded patch can be applied directly to the selected checkout with file fingerprints, revisions, savepoints, change budgets, and focused verification. Direct Edit is the default for understood small work; a Plan or worktree is not a prerequisite. Anchor occurrence positioning is owned by `src/cli/editing/edit-session.ts` and reused by `src/cli/repositories/safe-patch.ts` preflight, so preview and the actual patch executor cannot drift on repeated anchors.
|
|
58
58
|
|
|
59
59
|
## 5. Command policy and ephemeral workspaces
|
|
60
60
|
|
|
@@ -70,6 +70,18 @@ The classifier distinguishes readonly, workspace write, remote write, and destru
|
|
|
70
70
|
|
|
71
71
|
The MCP result envelope distinguishes “not authorized/executed” from “process executed and failed.” A blocked `rm` therefore returns authorization-required state rather than a fabricated exit-code failure, and successful ephemeral mutations are not labeled as readonly.
|
|
72
72
|
|
|
73
|
+
`src/cli/commands/setup-execution.ts` is the single synchronous CLI setup/adoption owner for temporary process environment overlays and mapping bounded child-process results to setup steps. `init.ts`, `init-hook.ts`, and `global-runtime.ts` import this owner directly instead of maintaining their own `process.env` mutation and process-step wrappers. This setup convenience layer does not own Runtime or Work execution authority.
|
|
74
|
+
|
|
75
|
+
Runtime/Connector service configuration, release materialization and CLI systemd unit
|
|
76
|
+
files use `src/runtime/shared/atomic-text-file.ts` for atomic text replacement,
|
|
77
|
+
including mode preservation and unique temporary paths. Independent Windows/WSL
|
|
78
|
+
host rescue deliberately retains its local writer rather than importing a
|
|
79
|
+
Runtime module into its emergency migration entrypoint.
|
|
80
|
+
|
|
81
|
+
Adoption no longer emits repo-local generated Helper wrapper scripts. The unused
|
|
82
|
+
compatibility generator under `src/core/adoption/helper-wrapper-plan.ts` is retired;
|
|
83
|
+
`src/core/adoption/plan.ts` installs only the current project-level assets.
|
|
84
|
+
|
|
73
85
|
## 6. Unified Process Runtime
|
|
74
86
|
|
|
75
87
|
Primary code:
|
|
@@ -79,7 +91,7 @@ src/runtime/execution/process-runtime/runtime.ts
|
|
|
79
91
|
src/runtime/execution/process-runtime/store.ts
|
|
80
92
|
src/runtime/execution/process-runtime/interactive-admission.ts
|
|
81
93
|
src/runtime/shared/process-identity.ts
|
|
82
|
-
|
|
94
|
+
adapters/mcp/runtime-gateway/process-tools.ts
|
|
83
95
|
```
|
|
84
96
|
|
|
85
97
|
`spawnManagedProcess` creates one Process record and one physical child execution. Exact PID/start-time/executable identity protects later lifecycle operations. Known-long processes can return handles immediately; short commands may complete during a bounded interactive window. Process startup captures command/start-time together and reuses the running-state persistence result instead of repeating store writes/reads on the hot path.
|
|
@@ -103,7 +115,7 @@ Primary code:
|
|
|
103
115
|
|
|
104
116
|
```text
|
|
105
117
|
src/runtime/execution/process-runtime/check-facade.ts
|
|
106
|
-
|
|
118
|
+
adapters/mcp/runtime-gateway/persisted-check-process.ts
|
|
107
119
|
src/runtime/evidence/
|
|
108
120
|
src/runtime/projections/
|
|
109
121
|
```
|
|
@@ -1,50 +1,46 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Install Forge — ChatGPT MCP local action runtime
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Forge is a local-first MCP execution runtime. ChatGPT (or another explicitly selected external controller) makes decisions; Forge handles permission-scoped computer, repository, browser, and service operations. **Stable release: v1.8.1**, published to npm `latest`.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## Install from npm (recommended)
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Requirements: **Node.js 20.10+**, npm (or Bun), and a writable home directory. Git is only needed for software/repository operations.
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
npm install -g @moretea-labs/forge@latest
|
|
11
|
+
forge --version
|
|
12
|
+
forge setup
|
|
13
|
+
forge setup configure --controller chatgpt --tunnel auto
|
|
14
|
+
forge setup next
|
|
12
15
|
```
|
|
13
16
|
|
|
14
|
-
|
|
17
|
+
You can also use `bun add -g @moretea-labs/forge`. For ChatGPT, setup prefers the OpenAI Secure MCP Tunnel; connection requires your ChatGPT account/session and appropriate authorization. Codex, Claude, and other MCP clients are optional external controllers.
|
|
15
18
|
|
|
16
|
-
|
|
19
|
+
## Upgrade an existing install
|
|
17
20
|
|
|
18
21
|
```bash
|
|
19
|
-
npm install -g @moretea-labs/forge
|
|
22
|
+
npm install -g @moretea-labs/forge@latest
|
|
23
|
+
forge --version
|
|
24
|
+
forge setup next
|
|
25
|
+
forge doctor
|
|
20
26
|
```
|
|
21
27
|
|
|
22
|
-
|
|
28
|
+
For an installed Package Runtime, use `forge runtime service install-package` to reconcile its service. Follow [Releases and Upgrades](Releases-and-Upgrades) and [release notes](https://github.com/moretea-labs/forge/releases/tag/v1.8.1).
|
|
29
|
+
|
|
30
|
+
## Source development (not required for installation)
|
|
23
31
|
|
|
24
32
|
```bash
|
|
25
|
-
|
|
33
|
+
git clone https://github.com/moretea-labs/forge.git
|
|
34
|
+
cd forge
|
|
35
|
+
bun install --frozen-lockfile
|
|
36
|
+
npm install -g . --omit=optional --no-audit --no-fund
|
|
26
37
|
```
|
|
27
38
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## Platforms
|
|
39
|
+
## Supported platforms
|
|
31
40
|
|
|
32
|
-
- macOS
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
See [Platform Support](https://github.com/moretea-labs/forge/blob/main/docs/operations/platform-support.md).
|
|
37
|
-
|
|
38
|
-
## Command compatibility
|
|
39
|
-
|
|
40
|
-
Forge exposes only `forge`, `forge-hook`, and `forge-runtime`. State directories, environment variables, protocol identifiers, and release artifacts use the Forge namespace.
|
|
41
|
-
|
|
42
|
-
## Verify installation
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
forge --version
|
|
46
|
-
forge doctor
|
|
47
|
-
forge repo list --json
|
|
48
|
-
```
|
|
41
|
+
- **macOS:** supported user-level Package Runtime using launchd.
|
|
42
|
+
- **Linux:** supported with systemd user service where available; portable-session fallback otherwise.
|
|
43
|
+
- **Windows + WSL2:** recommended Windows path, using Linux instructions inside WSL2.
|
|
44
|
+
- **Native Windows:** preview; check the explicitly supported CLI and portable Runtime scope.
|
|
49
45
|
|
|
50
|
-
A successful CLI
|
|
46
|
+
See the [platform support matrix](https://github.com/moretea-labs/forge/blob/main/docs/operations/platform-support.md). Forge publishes `forge`, `forge-hook`, and `forge-runtime`. A successful CLI version check alone does not prove MCP connectivity; complete the [ChatGPT connection tutorial](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.md) and verify the connector.
|
|
@@ -14,6 +14,10 @@ Codex, Claude, and GitHub Copilot can implement bounded tasks when available. Ag
|
|
|
14
14
|
|
|
15
15
|
GitHub operations cover issues, pull requests, checks, repository settings, Wiki synchronization, and releases. Remote writes remain explicit and should reference the exact local revision being published.
|
|
16
16
|
|
|
17
|
+
## Computer, Desktop Operator, and official providers
|
|
18
|
+
|
|
19
|
+
On macOS, the supported user interface to the native Desktop Operator is `forge computer setup|status|doctor|update`. The separately owned Browser capability covers browser session/DOM actions, while Desktop Operator provides native Computer operations. Forge Design, Personal Knowledge Assistant, and Figma Bridge use independently pinned official provider releases. Follow [Computer and Plugins](Computer-and-Plugins) to install, diagnose, and use them from ChatGPT.
|
|
20
|
+
|
|
17
21
|
## Browser and local system
|
|
18
22
|
|
|
19
23
|
Browser and local-system plugins are optional controller capabilities. They use separate grants and do not turn repository access into unrestricted machine access.
|
package/docs/wiki/Quick-Start.md
CHANGED
|
@@ -1,27 +1,29 @@
|
|
|
1
|
-
# Quick Start
|
|
1
|
+
# Quick Start — use ChatGPT to work with your computer via Forge MCP
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Forge gives an external controller (ChatGPT recommended) a local-first, permission-scoped execution runtime for files, Git repositories, browser/desktop actions, and connected services. Forge itself is **not** a second AI agent and does not require a separate OpenAI API key when your controller is ChatGPT.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 1. Install the current stable CLI
|
|
6
|
+
|
|
7
|
+
Requires Node.js 20.10+, npm, and a writable home directory.
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
bun install --frozen-lockfile
|
|
11
|
-
npm install -g . --omit=optional --no-audit --no-fund
|
|
10
|
+
npm install -g @moretea-labs/forge@latest
|
|
11
|
+
forge --version
|
|
12
12
|
```
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
Bun alternative: `bun add -g @moretea-labs/forge`. Source compilation is **not** necessary for a normal install; see [Installation](Installation).
|
|
15
15
|
|
|
16
|
-
## 2.
|
|
16
|
+
## 2. Configure ChatGPT as the external controller
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
forge
|
|
20
|
-
forge
|
|
21
|
-
forge
|
|
19
|
+
forge setup
|
|
20
|
+
forge setup configure --controller chatgpt --tunnel auto
|
|
21
|
+
forge setup next
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
Follow each reported next step to configure the Package Runtime and authenticated connector. OpenAI Secure MCP Tunnel is preferred when available; it is a transport, not another Forge controller. Read the [ChatGPT MCP setup tutorial](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.md).
|
|
25
|
+
|
|
26
|
+
## 3. Adopt a code repository only when needed
|
|
25
27
|
|
|
26
28
|
```bash
|
|
27
29
|
forge adopt --repo /path/to/project --dry-run
|
|
@@ -29,18 +31,29 @@ forge adopt --repo /path/to/project
|
|
|
29
31
|
forge repo list --json
|
|
30
32
|
```
|
|
31
33
|
|
|
32
|
-
|
|
34
|
+
You can use authorized file, browser or service capabilities without first adopting a Git repository.
|
|
35
|
+
|
|
36
|
+
## 4. Complete a small task and check the result
|
|
33
37
|
|
|
34
|
-
|
|
38
|
+
Ask ChatGPT to inspect a repository, make a scoped change, run the focused check, review the diff, and commit if verified. The [first repository task](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/03-first-repository-task.md) walks through the process. Destructive, secret-bearing and external effects have separate authorization requirements.
|
|
35
39
|
|
|
36
|
-
|
|
40
|
+
## Source checkout for contributors
|
|
37
41
|
|
|
38
|
-
|
|
42
|
+
A normal package install does not require source, Git, or Bun. If you are modifying Forge itself, use the same frozen Bun dependency lock as CI:
|
|
39
43
|
|
|
40
|
-
|
|
44
|
+
```bash
|
|
45
|
+
git clone https://github.com/moretea-labs/forge.git
|
|
46
|
+
cd forge
|
|
47
|
+
bun install --frozen-lockfile
|
|
48
|
+
npm install -g . --omit=optional --no-audit --no-fund
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Upgrade and help
|
|
41
52
|
|
|
42
|
-
|
|
53
|
+
```bash
|
|
54
|
+
npm install -g @moretea-labs/forge@latest
|
|
55
|
+
forge setup next
|
|
56
|
+
forge doctor
|
|
57
|
+
```
|
|
43
58
|
|
|
44
|
-
- [
|
|
45
|
-
- [Work Lifecycle](Work-Lifecycle)
|
|
46
|
-
- [Troubleshooting](Troubleshooting)
|
|
59
|
+
Read [Releases and Upgrades](Releases-and-Upgrades), [Troubleshooting](Troubleshooting), and the [full documentation](https://github.com/moretea-labs/forge/tree/main/docs). Current stable: [v1.8.1](https://github.com/moretea-labs/forge/releases/tag/v1.8.1).
|
|
@@ -1,34 +1,24 @@
|
|
|
1
|
-
# Releases and Upgrades
|
|
1
|
+
# Forge Releases and Upgrades
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Published stable release
|
|
4
4
|
|
|
5
|
-
- `next
|
|
6
|
-
- `latest`: stable releases only
|
|
5
|
+
**Forge v1.8.2** was released on October 19, 2026. The canonical package is [`@moretea-labs/forge` on npm](https://www.npmjs.com/package/@moretea-labs/forge), and the matching [GitHub Release](https://github.com/moretea-labs/forge/releases/tag/v1.8.2) provides an immutable `v1.8.1` tag. npm `latest` is the stable channel; `next` is reserved for release candidates.
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
## Install or upgrade to the latest stable
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
```bash
|
|
10
|
+
npm install -g @moretea-labs/forge@latest
|
|
11
|
+
forge --version
|
|
12
|
+
forge setup next
|
|
13
|
+
forge doctor
|
|
14
|
+
```
|
|
11
15
|
|
|
12
|
-
|
|
16
|
+
When using the packaged persistent service, `forge runtime service install-package` reconciles the installed Package Runtime. Review [Installation](Installation) and [ChatGPT connection](https://github.com/moretea-labs/forge/blob/main/docs/tutorials/02-connect-chatgpt.md) for platform-specific setup. Updates do not remove the requirement to validate the authenticated MCP connector.
|
|
13
17
|
|
|
14
|
-
##
|
|
18
|
+
## How releases are verified
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
Source version, package identity, immutable Git tag, npm dist-tag, and GitHub Release must agree. `check:release` checks source gates, packaging, licensing/open-source hygiene, and isolated installation; `check:release-published` checks npm registry metadata and downloaded tarball integrity against the local version and tag. Publication is performed by protected GitHub Actions with npm OIDC Trusted Publishing.
|
|
17
21
|
|
|
18
|
-
|
|
22
|
+
Release readiness and active whole-Runtime activation are different authorities; do not infer a healthy local service just from successful package publication. Follow the [maintained release process](https://github.com/moretea-labs/forge/blob/main/docs/operations/releasing.md) for contributor instructions.
|
|
19
23
|
|
|
20
|
-
|
|
21
|
-
- Read release notes before changing runtime or connector configuration.
|
|
22
|
-
- Do not overwrite a healthy active release with a stale rollout operation.
|
|
23
|
-
- Keep a verified rollback path before changing production runtime state.
|
|
24
|
-
|
|
25
|
-
## Publication sequence
|
|
26
|
-
|
|
27
|
-
1. Merge reviewed code and docs.
|
|
28
|
-
2. Push the exact main revision.
|
|
29
|
-
3. Wait for required CI and Windows checks on that revision.
|
|
30
|
-
4. Synchronize reviewed Wiki source.
|
|
31
|
-
5. Create the exact `v`-prefixed tag and GitHub prerelease.
|
|
32
|
-
6. Verify npm separately; never claim publication without registry evidence.
|
|
33
|
-
|
|
34
|
-
See the maintained [release process](https://github.com/moretea-labs/forge/blob/main/docs/operations/releasing.md).
|
|
24
|
+
For future releases, derive their version from the then-current `package.json` and update the matching immutable GitHub Release link.
|
package/docs/wiki/_Sidebar.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
**Forge Wiki**
|
|
1
|
+
**Forge · ChatGPT MCP Wiki**
|
|
2
2
|
|
|
3
3
|
- [Home](Home)
|
|
4
4
|
- [Quick Start](Quick-Start)
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
- [Implementation](Implementation)
|
|
11
11
|
- [Operations](Operations)
|
|
12
12
|
- [Integrations](Integrations)
|
|
13
|
+
- [Computer and Plugins](Computer-and-Plugins)
|
|
14
|
+
- [Computer 中文使用指南](Computer-and-Plugins.zh-CN)
|
|
13
15
|
- [Troubleshooting](Troubleshooting)
|
|
14
16
|
- [Security Model](Security-Model)
|
|
15
17
|
- [Releases and Upgrades](Releases-and-Upgrades)
|
|
@@ -18,4 +20,6 @@
|
|
|
18
20
|
|
|
19
21
|
- [Repository](https://github.com/moretea-labs/forge)
|
|
20
22
|
- [Versioned Docs](https://github.com/moretea-labs/forge/tree/main/docs)
|
|
23
|
+
- [Latest stable v1.8.1](https://github.com/moretea-labs/forge/releases/tag/v1.8.1)
|
|
24
|
+
- [npm package](https://www.npmjs.com/package/@moretea-labs/forge)
|
|
21
25
|
- [Support](https://github.com/moretea-labs/forge/blob/main/SUPPORT.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moretea-labs/forge",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.2",
|
|
4
4
|
"description": "Local-first action assistant for software work with resumable execution, bounded tools, and reviewable evidence",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Moretea Labs contributors",
|
|
@@ -39,7 +39,6 @@
|
|
|
39
39
|
"NOTICE",
|
|
40
40
|
"THIRD_PARTY_NOTICES.md",
|
|
41
41
|
"scripts/verify-forge-runtime.sh",
|
|
42
|
-
"agents/",
|
|
43
42
|
"assets/",
|
|
44
43
|
"docs/README.md",
|
|
45
44
|
"docs/tutorials/",
|
|
@@ -78,7 +77,6 @@
|
|
|
78
77
|
"supervisor/",
|
|
79
78
|
"AGENTS.md",
|
|
80
79
|
"CLAUDE.md",
|
|
81
|
-
"SKILL.md",
|
|
82
80
|
"README.md"
|
|
83
81
|
],
|
|
84
82
|
"bin": {
|
|
@@ -98,7 +96,6 @@
|
|
|
98
96
|
"benchmark:thin-harness-mcp-e2e": "bun scripts/benchmark-thin-harness-mcp-e2e.ts --json",
|
|
99
97
|
"benchmark:mcp-transport": "bun scripts/benchmark-mcp-transport.ts",
|
|
100
98
|
"benchmark:mcp-host": "bash scripts/benchmark-mcp-host.sh",
|
|
101
|
-
"benchmark:work-efficiency": "bun scripts/benchmark-work-efficiency.ts",
|
|
102
99
|
"benchmark:route-session-concurrency": "bun scripts/benchmark-route-session-concurrency.ts",
|
|
103
100
|
"benchmark:quality-harness": "bun scripts/benchmark-quality-harness.ts",
|
|
104
101
|
"benchmark:background-check-overlap": "bun scripts/benchmark-background-check-overlap.ts",
|
|
@@ -168,7 +165,6 @@
|
|
|
168
165
|
"runtime:activate-source-baseline": "bun scripts/activate-source-baseline.ts request",
|
|
169
166
|
"plugin:install-desktop-operator": "bun scripts/install-desktop-operator-registration.ts",
|
|
170
167
|
"sync:brain-docs": "bun src/cli/index.ts run sync-brain-docs --all",
|
|
171
|
-
"sync:codex-installed": "bash scripts/sync-codex-installed-copies.sh",
|
|
172
168
|
"check:forge-runtime": "bash scripts/verify-forge-runtime.sh",
|
|
173
169
|
"repo:registry": "bun src/cli/v81-entry.ts repo",
|
|
174
170
|
"smoke:schedule-engine": "node --loader ./src/runtime/shared/node-ts-loader.mjs scripts/smoke-schedule-engine.ts",
|
|
@@ -180,7 +176,6 @@
|
|
|
180
176
|
"check:portable-package": "node --test tests/node/*.test.mjs && npm run smoke:tarball-install"
|
|
181
177
|
},
|
|
182
178
|
"devDependencies": {
|
|
183
|
-
"@colbymchenry/codegraph": "1.0.1",
|
|
184
179
|
"@types/bun": "latest",
|
|
185
180
|
"@types/cors": "^2.8.19",
|
|
186
181
|
"@types/express": "^5.0.6"
|
|
@@ -197,12 +192,6 @@
|
|
|
197
192
|
},
|
|
198
193
|
"packageManager": "npm@10.0.0",
|
|
199
194
|
"optionalDependencies": {
|
|
200
|
-
"@colbymchenry/codegraph-darwin-arm64": "1.0.1",
|
|
201
|
-
"@colbymchenry/codegraph-darwin-x64": "1.0.1",
|
|
202
|
-
"@colbymchenry/codegraph-linux-arm64": "1.0.1",
|
|
203
|
-
"@colbymchenry/codegraph-linux-x64": "1.0.1",
|
|
204
|
-
"@colbymchenry/codegraph-win32-arm64": "1.0.1",
|
|
205
|
-
"@colbymchenry/codegraph-win32-x64": "1.0.1",
|
|
206
195
|
"agent-device": "0.20.2"
|
|
207
196
|
}
|
|
208
197
|
}
|