主な変更: - ConsoleBox/MathBoxプラグイン実装・登録完了 - nyash_box.toml 2ファイルシステム設計(中央レジストリ+個別仕様書) - 全プラグインにnyash_box.tomlテンプレート追加 - プラグイン優先機能(NYASH_USE_PLUGIN_BUILTINS=1)文書化 - ビルトインBox削除準備(ChatGPT5実装中) - ネイティブビルドデモ追加(Linux/Windows動作確認済み) Everything is Box → Everything is Plugin への歴史的転換! 開発20日目にしてビルトインBox全削除という革命的決定。 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
640 B
TOML
36 lines
640 B
TOML
[box]
|
|
name = "CounterBox"
|
|
version = "1.0.0"
|
|
description = "Process-wide counter (singleton)"
|
|
author = "Nyash Team"
|
|
|
|
[provides]
|
|
boxes = ["CounterBox"]
|
|
|
|
[CounterBox]
|
|
type_id = 7
|
|
|
|
[CounterBox.lifecycle]
|
|
birth = { id = 0 }
|
|
fini = { id = 4294967295 }
|
|
|
|
[CounterBox.methods.inc]
|
|
id = 1
|
|
args = []
|
|
returns = { type = "i64" }
|
|
|
|
[CounterBox.methods.get]
|
|
id = 2
|
|
args = []
|
|
returns = { type = "i64" }
|
|
|
|
[implementation]
|
|
ffi_version = 1
|
|
thread_safe = true
|
|
|
|
[artifacts]
|
|
windows = "target/x86_64-pc-windows-msvc/release/nyash_counter_plugin.dll"
|
|
linux = "target/release/libnyash_counter_plugin.so"
|
|
macos = "target/release/libnyash_counter_plugin.dylib"
|
|
|