TraceMem OpenCode 外掛:為 AI 代理啟用決策追蹤

TraceMem OpenCode 外掛:為 AI 代理啟用決策追蹤

Hacker News·

TraceMem OpenCode 外掛為 AI 代理中的決策追蹤和可追溯性提供了解決方案。它與 TraceMem MCP API 集成,以便在整個 AI 開發生命週期中促進決策的創建、管理和監控。

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

To see all available qualifiers, see our documentation.

OpenCode plugin for TraceMem decision tracking and traceability.

License

Uh oh!

There was an error while loading. Please reload this page.

tracemem/tracemem-opencode-plugin

Folders and files

Latest commit

History

Repository files navigation

@tracemem/opencode-plugin

OpenCode plugin for TraceMem decision tracking and traceability. This plugin provides tools to create, manage, and track decisions through the TraceMem MCP API.

Install

Add the plugin to your opencode.json:

OpenCode will automatically install the plugin and its dependencies on startup.

Configure

Required Environment Variable

Set your TraceMem API key:

Or add it to your .env file in your project root.

Optional Environment Variable

Override the default MCP server URL (default: https://mcp.tracemem.com):

Verify

After installation, verify your setup by asking OpenCode to run:

This will check your API key configuration and test connectivity to the TraceMem MCP server.

Usage

Recommended Pattern

The recommended workflow for using TraceMem with OpenCode:

Open a decision before starting work:

Add context as you work:

Read decision data when needed:

Evaluate the decision:

Request approval if needed:

Write mutations to the decision:

Close the decision when done:

Auto-Intent Mapping

The tracemem_open tool automatically maps common actions to standardized intents:

Example:

Available Tools

State Management

The plugin maintains the current decision ID in memory. If you omit the decision_id parameter from decision tools, they will use the most recently created decision (from tracemem_open or tracemem_decision_create).

Security

Secret Redaction

The plugin automatically sanitizes data to prevent secrets from being stored:

Best Practices

Examples

See the examples/ directory for:

License

Apache-2.0

Repository

https://github.com/tracemem/tracemem-opencode-plugin

About

OpenCode plugin for TraceMem decision tracking and traceability.

Topics

Resources

License

Uh oh!

There was an error while loading. Please reload this page.

Stars

Watchers

Forks

Releases

Packages

  0

Languages

Footer

Footer navigation

Hacker News

相關文章

  1. Show HN:TraceMem – 專為 AI 代理決策設計的追蹤原生記憶體層

    3 個月前

  2. PowerMem:AI 代理的持久記憶層

    4 個月前

  3. Show HN:APIsec MCP Audit – 審核您的 AI 代理可存取的內容

    3 個月前

  4. Show HN:AI 編碼助手的統一本地可觀測性

    4 個月前

  5. Show HN:Apex Agent – 透過 MCP 將瀏覽器連接至 AI

    3 個月前