~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/atlibs-socialweb-computer-requester

socialweb.computer market requester and policy modules for atlibs, with its web pages and lexicons

0
0
main
205 lines · 3.8 KB Raw History
{
	"name": "process-mcp",
	"description": "computer.socialweb.cicd.process.* over a socialweb.computer guest agent's MCP shell (each entry one tools/call of its name), until the guest agent serves the process contract itself.",
	"actions": [
		{
			"entry": "exec",
			"label": "Run a command and wait",
			"fields": [
				{
					"key": "url",
					"label": "Machine shell URL",
					"type": "string",
					"required": true,
					"description": "iroh:///<ref>/shell/mcp or webrtc:///<ref>/shell/mcp"
				},
				{
					"key": "command",
					"label": "command",
					"type": "string",
					"required": true
				},
				{
					"key": "stdin",
					"label": "stdin",
					"type": "string"
				},
				{
					"key": "cwd",
					"label": "cwd",
					"type": "string"
				},
				{
					"key": "timeoutMs",
					"label": "timeoutMs",
					"type": "integer"
				}
			]
		},
		{
			"entry": "start",
			"label": "Start a background job",
			"fields": [
				{
					"key": "url",
					"label": "Machine shell URL",
					"type": "string",
					"required": true,
					"description": "iroh:///<ref>/shell/mcp or webrtc:///<ref>/shell/mcp"
				},
				{
					"key": "command",
					"label": "command",
					"type": "string",
					"required": true
				},
				{
					"key": "stdin",
					"label": "stdin",
					"type": "string"
				},
				{
					"key": "cwd",
					"label": "cwd",
					"type": "string"
				}
			]
		},
		{
			"entry": "read",
			"label": "Read a job's output",
			"fields": [
				{
					"key": "url",
					"label": "Machine shell URL",
					"type": "string",
					"required": true,
					"description": "iroh:///<ref>/shell/mcp or webrtc:///<ref>/shell/mcp"
				},
				{
					"key": "id",
					"label": "id",
					"type": "string",
					"required": true
				},
				{
					"key": "cursor",
					"label": "cursor",
					"type": "integer"
				},
				{
					"key": "maxBytes",
					"label": "maxBytes",
					"type": "integer"
				},
				{
					"key": "waitMs",
					"label": "waitMs",
					"type": "integer"
				}
			],
			"readOnly": true
		},
		{
			"entry": "write",
			"label": "Write to a job's stdin",
			"fields": [
				{
					"key": "url",
					"label": "Machine shell URL",
					"type": "string",
					"required": true,
					"description": "iroh:///<ref>/shell/mcp or webrtc:///<ref>/shell/mcp"
				},
				{
					"key": "id",
					"label": "id",
					"type": "string",
					"required": true
				},
				{
					"key": "data",
					"label": "data",
					"type": "string",
					"required": true
				},
				{
					"key": "close",
					"label": "close",
					"type": "boolean"
				}
			]
		},
		{
			"entry": "kill",
			"label": "Signal a job",
			"fields": [
				{
					"key": "url",
					"label": "Machine shell URL",
					"type": "string",
					"required": true,
					"description": "iroh:///<ref>/shell/mcp or webrtc:///<ref>/shell/mcp"
				},
				{
					"key": "id",
					"label": "id",
					"type": "string",
					"required": true
				},
				{
					"key": "signal",
					"label": "signal",
					"type": "string"
				}
			]
		},
		{
			"entry": "list",
			"label": "List the jobs",
			"fields": [
				{
					"key": "url",
					"label": "Machine shell URL",
					"type": "string",
					"required": true,
					"description": "iroh:///<ref>/shell/mcp or webrtc:///<ref>/shell/mcp"
				}
			],
			"readOnly": true
		}
	],
	"calls": [
		"com.fedfork.exec.http.fetch"
	],
	"http": [
		"iroh://*",
		"webrtc://*"
	],
	"implements": [
		{
			"nsid": "computer.socialweb.cicd.process.exec",
			"entry": "exec"
		},
		{
			"nsid": "computer.socialweb.cicd.process.start",
			"entry": "start"
		},
		{
			"nsid": "computer.socialweb.cicd.process.read",
			"entry": "read"
		},
		{
			"nsid": "computer.socialweb.cicd.process.write",
			"entry": "write"
		},
		{
			"nsid": "computer.socialweb.cicd.process.kill",
			"entry": "kill"
		},
		{
			"nsid": "computer.socialweb.cicd.process.list",
			"entry": "list"
		}
	]
}