Self-improving AI Employees for everyone
Python ai-agentsai-employeeai-employeesassistantautonomous-agentsco-employeescompanygrok-botinstinctloop-agentsmuseown-your-datapersonalself-hosted
fix: release workflow GitHub Release creation and npm provenance
trohitgfe1af1064e2e
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 2e7a27f0..de15ebc5 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -1,14 +1,18 @@-# Release workflow - predeploy gate, publish, then test install+# Release workflow - predeploy gate, publish, GitHub release, then test installname: Releaseon:push:tags: ['v*.*.*']- release:- types: [published]workflow_dispatch:+# Top-level permissions for all jobs (jobs can narrow further)+permissions:+ contents: write+ packages: write+ id-token: write+jobs:predeploy:uses: ./.github/workflows/predeploy.yml@@ -39,9 +43,12 @@ jobs:retention-days: 1publish-npm:- name: Publish to npm+ name: Publish to npm (with provenance)needs: build-for-publishruns-on: ubuntu-latest+ permissions:+ contents: read+ id-token: writesteps:- name: Checkoutuses: actions/checkout@v4@@ -67,8 +74,8 @@ jobs:- name: Verify package contentsrun: npm pack --dry-run- - name: Publish to npm- run: npm publish --access public+ - name: Publish to npm with provenance+ run: npm publish --access public --provenanceenv:NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}@@ -115,7 +122,33 @@ jobs:env:NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ # Create GitHub Release with auto-generated notes+ create-github-release:+ name: Create GitHub Release+ needs: [publish-npm, publish-github-packages]+ runs-on: ubuntu-latest+ permissions:+ contents: write+ steps:+ - name: Checkout+ uses: actions/checkout@v4+ with:+ fetch-depth: 0++ - name: Extract version from tag+ id: version+ run: echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"++ - name: Create GitHub Release+ env:+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ run: |+ gh release create "${{ github.ref_name }}" \+ --title "MachinaOS ${{ steps.version.outputs.version }}" \+ --generate-notes \+ --verify-tag+# Test user installation after publishingtest-install:- needs: [publish-npm, publish-github-packages]+ needs: [create-github-release]uses: ./.github/workflows/test-install.ymldiff --git a/client/src/contexts/WebSocketContext.tsx b/client/src/contexts/WebSocketContext.tsxindex 45f5c2e7..b67b42fe 100644--- a/client/src/contexts/WebSocketContext.tsx+++ b/client/src/contexts/WebSocketContext.tsx@@ -33,6 +33,14 @@ const REQUEST_TIMEOUT = 30000;// Trigger node types that wait indefinitely for eventsconst TRIGGER_NODE_TYPES = ['whatsappReceive', 'webhookTrigger', 'cronScheduler', 'chatTrigger', 'telegramReceive'];+// Agent node types that can run for minutes (no timeout)+const LONG_RUNNING_NODE_TYPES = [+ 'aiAgent', 'chatAgent', 'rlm_agent',+ 'android_agent', 'coding_agent', 'web_agent', 'task_agent', 'social_agent',+ 'travel_agent', 'tool_agent', 'productivity_agent', 'payments_agent', 'consumer_agent',+ 'autonomous_agent', 'orchestrator_agent', 'ai_employee',+];+// Status typesexport interface AndroidStatus {connected: boolean;@@ -1535,9 +1543,9 @@ export const WebSocketProvider: React.FC<{ children: React.ReactNode }> = ({ chiedges?: any[]): Promise<any> => {try {- // Trigger nodes wait indefinitely for events - no timeout- const isTriggerNode = TRIGGER_NODE_TYPES.includes(nodeType);- const timeoutMs = isTriggerNode ? -1 : undefined; // -1 = no timeout+ // Trigger nodes and long-running agents wait indefinitely - no timeout+ const noTimeout = TRIGGER_NODE_TYPES.includes(nodeType) || LONG_RUNNING_NODE_TYPES.includes(nodeType);+ const timeoutMs = noTimeout ? -1 : undefined; // -1 = no timeoutconst response = await sendRequest<any>('execute_node', {node_id: nodeId,@@ -1701,6 +1709,7 @@ export const WebSocketProvider: React.FC<{ children: React.ReactNode }> = ({ chiedges: any[]): Promise<any> => {try {+ // AI nodes can run for minutes (tool calling, RLM iterations) - no timeoutconst response = await sendRequest<any>('execute_ai_node', {node_id: nodeId,node_type: nodeType,@@ -1709,7 +1718,7 @@ export const WebSocketProvider: React.FC<{ children: React.ReactNode }> = ({ chiworkflow_id: workflowId,nodes,edges- });+ }, -1);return response;} catch (error) {console.error('[WebSocket] Failed to execute AI node:', error);diff --git a/server/config/model_registry.json b/server/config/model_registry.jsonindex 3ff30388..3d0ad97e 100644--- a/server/config/model_registry.json+++ b/server/config/model_registry.json@@ -1,8 +1,38 @@{- "_generated": "2026-03-25T07:57:54.722508+00:00",+ "_generated": "2026-03-27T08:38:02.711707+00:00","_source": "openrouter","_model_count": 346,"models": {+ "reka/reka-edge": {+ "id": "reka/reka-edge",+ "name": "Reka Edge",+ "provider": "reka",+ "local_id": "reka-edge",+ "context_length": 16384,+ "max_output_tokens": 16384,+ "input_price_per_mtok": 0.1,+ "output_price_per_mtok": 0.1,+ "supports_thinking": false,+ "thinking_type": "none",+ "temperature_range": [+ 0.0,+ 2.0+ ],+ "is_reasoning_model": false,+ "supported_parameters": [+ "frequency_penalty",+ "max_tokens",+ "presence_penalty",+ "seed",+ "stop",+ "structured_outputs",+ "temperature",+ "tool_choice",+ "tools",+ "top_k",+ "top_p"+ ]+ },"xiaomi/mimo-v2-omni": {"id": "xiaomi/mimo-v2-omni","name": "Xiaomi: MiMo-V2-Omni",@@ -201,13 +231,21 @@],"is_reasoning_model": false,"supported_parameters": [+ "frequency_penalty","include_reasoning",+ "logit_bias","max_tokens",+ "min_p",+ "presence_penalty","reasoning",+ "repetition_penalty","response_format",+ "seed",+ "stop","temperature","tool_choice","tools",+ "top_k","top_p"]},@@ -1244,8 +1282,8 @@"name": "StepFun: Step 3.5 Flash","provider": "stepfun","local_id": "step-3.5-flash",- "context_length": 256000,- "max_output_tokens": 256000,+ "context_length": 262144,+ "max_output_tokens": 0,"input_price_per_mtok": 0.1,"output_price_per_mtok": 0.3,"supports_thinking": false,@@ -1259,10 +1297,16 @@"frequency_penalty","include_reasoning","max_tokens",+ "min_p",+ "presence_penalty","reasoning",+ "repetition_penalty",+ "response_format",+ "seed","stop","temperature","tools",+ "top_k","top_p"]},@@ -2652,36 +2696,6 @@"top_p"]},- "gemini/gemini-3-pro-preview": {- "id": "google/gemini-3-pro-preview",- "name": "Google: Gemini 3 Pro Preview",- "provider": "gemini",- "local_id": "gemini-3-pro-preview",- "context_length": 1048576,- "max_output_tokens": 65536,- "input_price_per_mtok": 2.0,- "output_price_per_mtok": 12.0,- "supports_thinking": true,- "thinking_type": "budget",- "temperature_range": [- 0.0,- 2.0- ],- "is_reasoning_model": false,- "supported_parameters": [- "include_reasoning",- "max_tokens",- "reasoning",- "response_format",- "seed",- "stop",- "structured_outputs",- "temperature",- "tool_choice",- "tools",- "top_p"- ]- },"deepcogito/cogito-v2.1-671b": {"id": "deepcogito/cogito-v2.1-671b","name": "Deep Cogito: Cogito v2.1 671B",@@ -3865,7 +3879,6 @@"supported_parameters": ["frequency_penalty","logit_bias",- "logprobs","max_tokens","min_p","presence_penalty",@@ -3878,7 +3891,6 @@"tool_choice","tools","top_k",- "top_logprobs","top_p"]},@@ -4113,7 +4125,9 @@"supported_parameters": ["frequency_penalty","include_reasoning",+ "logit_bias","max_tokens",+ "min_p","presence_penalty","reasoning","repetition_penalty",@@ -4883,7 +4897,6 @@"frequency_penalty","include_reasoning","logit_bias",- "logprobs","max_tokens","min_p","presence_penalty",@@ -4898,7 +4911,6 @@"tool_choice","tools","top_k",- "top_logprobs","top_p"]},@@ -6590,6 +6602,7 @@"supported_parameters": ["frequency_penalty","include_reasoning",+ "logit_bias","max_tokens","min_p","presence_penalty",@@ -8966,15 +8979,15 @@"top_p"]},- "meta/llama-3.2-3b-instruct:free": {- "id": "meta-llama/llama-3.2-3b-instruct:free",- "name": "Meta: Llama 3.2 3B Instruct (free)",+ "meta/llama-3.2-1b-instruct": {+ "id": "meta-llama/llama-3.2-1b-instruct",+ "name": "Meta: Llama 3.2 1B Instruct","provider": "meta",- "local_id": "llama-3.2-3b-instruct:free",- "context_length": 131072,+ "local_id": "llama-3.2-1b-instruct",+ "context_length": 60000,"max_output_tokens": 0,- "input_price_per_mtok": 0.0,- "output_price_per_mtok": 0.0,+ "input_price_per_mtok": 0.027,+ "output_price_per_mtok": 0.2,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -8986,21 +8999,22 @@"frequency_penalty","max_tokens","presence_penalty",- "stop",+ "repetition_penalty",+ "seed","temperature","top_k","top_p"]},- "meta/llama-3.2-3b-instruct": {- "id": "meta-llama/llama-3.2-3b-instruct",- "name": "Meta: Llama 3.2 3B Instruct",+ "meta/llama-3.2-3b-instruct:free": {+ "id": "meta-llama/llama-3.2-3b-instruct:free",+ "name": "Meta: Llama 3.2 3B Instruct (free)","provider": "meta",- "local_id": "llama-3.2-3b-instruct",- "context_length": 80000,+ "local_id": "llama-3.2-3b-instruct:free",+ "context_length": 131072,"max_output_tokens": 0,- "input_price_per_mtok": 0.051,- "output_price_per_mtok": 0.34,+ "input_price_per_mtok": 0.0,+ "output_price_per_mtok": 0.0,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -9012,22 +9026,21 @@"frequency_penalty","max_tokens","presence_penalty",- "repetition_penalty",- "seed",+ "stop","temperature","top_k","top_p"]},- "meta/llama-3.2-1b-instruct": {- "id": "meta-llama/llama-3.2-1b-instruct",- "name": "Meta: Llama 3.2 1B Instruct",+ "meta/llama-3.2-3b-instruct": {+ "id": "meta-llama/llama-3.2-3b-instruct",+ "name": "Meta: Llama 3.2 3B Instruct","provider": "meta",- "local_id": "llama-3.2-1b-instruct",- "context_length": 60000,+ "local_id": "llama-3.2-3b-instruct",+ "context_length": 80000,"max_output_tokens": 0,- "input_price_per_mtok": 0.027,- "output_price_per_mtok": 0.2,+ "input_price_per_mtok": 0.051,+ "output_price_per_mtok": 0.34,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -9109,15 +9122,15 @@"top_p"]},- "cohere/command-r-plus-08-2024": {- "id": "cohere/command-r-plus-08-2024",- "name": "Cohere: Command R+ (08-2024)",+ "cohere/command-r-08-2024": {+ "id": "cohere/command-r-08-2024",+ "name": "Cohere: Command R (08-2024)","provider": "cohere",- "local_id": "command-r-plus-08-2024",+ "local_id": "command-r-08-2024","context_length": 128000,"max_output_tokens": 4000,- "input_price_per_mtok": 2.5,- "output_price_per_mtok": 10.0,+ "input_price_per_mtok": 0.15,+ "output_price_per_mtok": 0.6,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -9140,15 +9153,15 @@"top_p"]},- "cohere/command-r-08-2024": {- "id": "cohere/command-r-08-2024",- "name": "Cohere: Command R (08-2024)",+ "cohere/command-r-plus-08-2024": {+ "id": "cohere/command-r-plus-08-2024",+ "name": "Cohere: Command R+ (08-2024)","provider": "cohere",- "local_id": "command-r-08-2024",+ "local_id": "command-r-plus-08-2024","context_length": 128000,"max_output_tokens": 4000,- "input_price_per_mtok": 0.15,- "output_price_per_mtok": 0.6,+ "input_price_per_mtok": 2.5,+ "output_price_per_mtok": 10.0,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -9455,11 +9468,11 @@"top_p"]},- "openai/gpt-4o-mini-2024-07-18": {- "id": "openai/gpt-4o-mini-2024-07-18",- "name": "OpenAI: GPT-4o-mini (2024-07-18)",+ "openai/gpt-4o-mini": {+ "id": "openai/gpt-4o-mini",+ "name": "OpenAI: GPT-4o-mini","provider": "openai",- "local_id": "gpt-4o-mini-2024-07-18",+ "local_id": "gpt-4o-mini","context_length": 128000,"max_output_tokens": 16384,"input_price_per_mtok": 0.15,@@ -9489,11 +9502,11 @@"web_search_options"]},- "openai/gpt-4o-mini": {- "id": "openai/gpt-4o-mini",- "name": "OpenAI: GPT-4o-mini",+ "openai/gpt-4o-mini-2024-07-18": {+ "id": "openai/gpt-4o-mini-2024-07-18",+ "name": "OpenAI: GPT-4o-mini (2024-07-18)","provider": "openai",- "local_id": "gpt-4o-mini",+ "local_id": "gpt-4o-mini-2024-07-18","context_length": 128000,"max_output_tokens": 16384,"input_price_per_mtok": 0.15,@@ -9636,15 +9649,15 @@"top_p"]},- "openai/gpt-4o-2024-05-13": {- "id": "openai/gpt-4o-2024-05-13",- "name": "OpenAI: GPT-4o (2024-05-13)",+ "openai/gpt-4o": {+ "id": "openai/gpt-4o",+ "name": "OpenAI: GPT-4o","provider": "openai",- "local_id": "gpt-4o-2024-05-13",+ "local_id": "gpt-4o","context_length": 128000,- "max_output_tokens": 4096,- "input_price_per_mtok": 5.0,- "output_price_per_mtok": 15.0,+ "max_output_tokens": 16384,+ "input_price_per_mtok": 2.5,+ "output_price_per_mtok": 10.0,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -9670,15 +9683,15 @@"web_search_options"]},- "openai/gpt-4o": {- "id": "openai/gpt-4o",- "name": "OpenAI: GPT-4o",+ "openai/gpt-4o:extended": {+ "id": "openai/gpt-4o:extended",+ "name": "OpenAI: GPT-4o (extended)","provider": "openai",- "local_id": "gpt-4o",+ "local_id": "gpt-4o:extended","context_length": 128000,- "max_output_tokens": 16384,- "input_price_per_mtok": 2.5,- "output_price_per_mtok": 10.0,+ "max_output_tokens": 64000,+ "input_price_per_mtok": 6.0,+ "output_price_per_mtok": 18.0,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -9704,15 +9717,15 @@"web_search_options"]},- "openai/gpt-4o:extended": {- "id": "openai/gpt-4o:extended",- "name": "OpenAI: GPT-4o (extended)",+ "openai/gpt-4o-2024-05-13": {+ "id": "openai/gpt-4o-2024-05-13",+ "name": "OpenAI: GPT-4o (2024-05-13)","provider": "openai",- "local_id": "gpt-4o:extended",+ "local_id": "gpt-4o-2024-05-13","context_length": 128000,- "max_output_tokens": 64000,- "input_price_per_mtok": 6.0,- "output_price_per_mtok": 18.0,+ "max_output_tokens": 4096,+ "input_price_per_mtok": 5.0,+ "output_price_per_mtok": 15.0,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -9948,15 +9961,15 @@"top_p"]},- "openai/gpt-4-turbo-preview": {- "id": "openai/gpt-4-turbo-preview",- "name": "OpenAI: GPT-4 Turbo Preview",+ "openai/gpt-3.5-turbo-0613": {+ "id": "openai/gpt-3.5-turbo-0613",+ "name": "OpenAI: GPT-3.5 Turbo (older v0613)","provider": "openai",- "local_id": "gpt-4-turbo-preview",- "context_length": 128000,+ "local_id": "gpt-3.5-turbo-0613",+ "context_length": 4095,"max_output_tokens": 4096,- "input_price_per_mtok": 10.0,- "output_price_per_mtok": 30.0,+ "input_price_per_mtok": 1.0,+ "output_price_per_mtok": 2.0,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -9981,15 +9994,15 @@"top_p"]},- "openai/gpt-3.5-turbo-0613": {- "id": "openai/gpt-3.5-turbo-0613",- "name": "OpenAI: GPT-3.5 Turbo (older v0613)",+ "openai/gpt-4-turbo-preview": {+ "id": "openai/gpt-4-turbo-preview",+ "name": "OpenAI: GPT-4 Turbo Preview","provider": "openai",- "local_id": "gpt-3.5-turbo-0613",- "context_length": 4095,+ "local_id": "gpt-4-turbo-preview",+ "context_length": 128000,"max_output_tokens": 4096,- "input_price_per_mtok": 1.0,- "output_price_per_mtok": 2.0,+ "input_price_per_mtok": 10.0,+ "output_price_per_mtok": 30.0,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -10154,15 +10167,15 @@"top_p"]},- "openai/gpt-3.5-turbo-instruct": {- "id": "openai/gpt-3.5-turbo-instruct",- "name": "OpenAI: GPT-3.5 Turbo Instruct",- "provider": "openai",- "local_id": "gpt-3.5-turbo-instruct",- "context_length": 4095,- "max_output_tokens": 4096,- "input_price_per_mtok": 1.5,- "output_price_per_mtok": 2.0,+ "mistralai/mistral-7b-instruct-v0.1": {+ "id": "mistralai/mistral-7b-instruct-v0.1",+ "name": "Mistral: Mistral 7B Instruct v0.1",+ "provider": "mistralai",+ "local_id": "mistral-7b-instruct-v0.1",+ "context_length": 2824,+ "max_output_tokens": 0,+ "input_price_per_mtok": 0.11,+ "output_price_per_mtok": 0.19,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -10172,28 +10185,24 @@"is_reasoning_model": false,"supported_parameters": ["frequency_penalty",- "logit_bias",- "logprobs","max_tokens","presence_penalty",- "response_format",+ "repetition_penalty","seed",- "stop",- "structured_outputs","temperature",- "top_logprobs",+ "top_k","top_p"]},- "mistralai/mistral-7b-instruct-v0.1": {- "id": "mistralai/mistral-7b-instruct-v0.1",- "name": "Mistral: Mistral 7B Instruct v0.1",- "provider": "mistralai",- "local_id": "mistral-7b-instruct-v0.1",- "context_length": 2824,- "max_output_tokens": 0,- "input_price_per_mtok": 0.11,- "output_price_per_mtok": 0.19,+ "openai/gpt-3.5-turbo-instruct": {+ "id": "openai/gpt-3.5-turbo-instruct",+ "name": "OpenAI: GPT-3.5 Turbo Instruct",+ "provider": "openai",+ "local_id": "gpt-3.5-turbo-instruct",+ "context_length": 4095,+ "max_output_tokens": 4096,+ "input_price_per_mtok": 1.5,+ "output_price_per_mtok": 2.0,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -10203,12 +10212,16 @@"is_reasoning_model": false,"supported_parameters": ["frequency_penalty",+ "logit_bias",+ "logprobs","max_tokens","presence_penalty",- "repetition_penalty",+ "response_format","seed",+ "stop",+ "structured_outputs","temperature",- "top_k",+ "top_logprobs","top_p"]},@@ -10349,15 +10362,15 @@"top_p"]},- "openai/gpt-4-0314": {- "id": "openai/gpt-4-0314",- "name": "OpenAI: GPT-4 (older v0314)",+ "openai/gpt-3.5-turbo": {+ "id": "openai/gpt-3.5-turbo",+ "name": "OpenAI: GPT-3.5 Turbo","provider": "openai",- "local_id": "gpt-4-0314",- "context_length": 8191,+ "local_id": "gpt-3.5-turbo",+ "context_length": 16385,"max_output_tokens": 4096,- "input_price_per_mtok": 30.0,- "output_price_per_mtok": 60.0,+ "input_price_per_mtok": 0.5,+ "output_price_per_mtok": 1.5,"supports_thinking": false,"thinking_type": "none","temperature_range": [@@ -10415,15 +10428,15 @@"top_p"]},- "openai/gpt-3.5-turbo": {- "id": "openai/gpt-3.5-turbo",- "name": "OpenAI: GPT-3.5 Turbo",+ "openai/gpt-4-0314": {+ "id": "openai/gpt-4-0314",+ "name": "OpenAI: GPT-4 (older v0314)","provider": "openai",- "local_id": "gpt-3.5-turbo",- "context_length": 16385,+ "local_id": "gpt-4-0314",+ "context_length": 8191,"max_output_tokens": 4096,- "input_price_per_mtok": 0.5,- "output_price_per_mtok": 1.5,+ "input_price_per_mtok": 30.0,+ "output_price_per_mtok": 60.0,"supports_thinking": false,"thinking_type": "none","temperature_range": [