mvgeos-agent 0.6.14__tar.gz
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.
- mvgeos_agent-0.6.14/PKG-INFO +13 -0
- mvgeos_agent-0.6.14/pyproject.toml +34 -0
- mvgeos_agent-0.6.14/pyproject.toml.orig +30 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/__init__.py +84 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/agent_session.py +736 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/auth.py +111 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/commands.py +774 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/compatibility.py +175 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/config_manager.py +408 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/environment.py +778 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/function_spell.py +522 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/harness/__init__.py +35 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/harness/compaction/__init__.py +35 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/harness/compaction/compaction.py +408 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/harness/compaction/compaction_runner.py +306 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/harness/harness.py +551 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/installer.py +418 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/mvge.py +1999 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/protocol.py +221 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/py.typed +0 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/rune_lifecycle.py +214 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/snapshot.py +231 -0
- mvgeos_agent-0.6.14/src/mvgeos_agent/types.py +59 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mvgeos-agent
|
|
3
|
+
Version: 0.6.14
|
|
4
|
+
Summary: Core Mvge agent loop, invocation types, state management, and spell execution
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Requires-Dist: mvgeos-core>=0.6.14
|
|
7
|
+
Requires-Dist: mvgeos-provider>=0.6.14
|
|
8
|
+
Requires-Dist: mvgeos-tome>=0.6.14
|
|
9
|
+
Requires-Dist: mvgeos-runes>=0.6.14
|
|
10
|
+
Requires-Dist: pydantic>=2.0
|
|
11
|
+
Requires-Dist: python-dotenv>=1.2.2
|
|
12
|
+
Requires-Dist: httpx>=0.28.1
|
|
13
|
+
Requires-Python: >=3.13
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "mvgeos-agent"
|
|
3
|
+
version = "0.6.14"
|
|
4
|
+
description = "Core Mvge agent loop, invocation types, state management, and spell execution"
|
|
5
|
+
requires-python = ">=3.13"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
dependencies = [
|
|
8
|
+
"mvgeos-core>=0.6.14",
|
|
9
|
+
"mvgeos-provider>=0.6.14",
|
|
10
|
+
"mvgeos-tome>=0.6.14",
|
|
11
|
+
"mvgeos-runes>=0.6.14",
|
|
12
|
+
"pydantic>=2.0",
|
|
13
|
+
"python-dotenv>=1.2.2",
|
|
14
|
+
"httpx>=0.28.1",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
[tool.uv.sources.mvgeos-core]
|
|
18
|
+
workspace = true
|
|
19
|
+
|
|
20
|
+
[tool.uv.sources.mvgeos-provider]
|
|
21
|
+
workspace = true
|
|
22
|
+
|
|
23
|
+
[tool.uv.sources.mvgeos-tome]
|
|
24
|
+
workspace = true
|
|
25
|
+
|
|
26
|
+
[tool.uv.sources.mvgeos-runes]
|
|
27
|
+
workspace = true
|
|
28
|
+
|
|
29
|
+
[tool.ruff]
|
|
30
|
+
extend = "../pyproject.toml"
|
|
31
|
+
|
|
32
|
+
[build-system]
|
|
33
|
+
requires = ["uv_build>=0.11.2,<0.13"]
|
|
34
|
+
build-backend = "uv_build"
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "mvgeos-agent"
|
|
3
|
+
version = "0.6.14"
|
|
4
|
+
description = "Core Mvge agent loop, invocation types, state management, and spell execution"
|
|
5
|
+
requires-python = ">=3.13"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
dependencies = [
|
|
8
|
+
# Explicit floors: uv_build does not substitute the workspace version, so
|
|
9
|
+
# bare names ship as unbounded Requires-Dist. Bumped in lockstep by ci.yml.
|
|
10
|
+
"mvgeos-core>=0.6.14",
|
|
11
|
+
"mvgeos-provider>=0.6.14",
|
|
12
|
+
"mvgeos-tome>=0.6.14",
|
|
13
|
+
"mvgeos-runes>=0.6.14",
|
|
14
|
+
"pydantic>=2.0",
|
|
15
|
+
"python-dotenv>=1.2.2",
|
|
16
|
+
"httpx>=0.28.1",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
[tool.uv.sources]
|
|
20
|
+
mvgeos-core = { workspace = true }
|
|
21
|
+
mvgeos-provider = { workspace = true }
|
|
22
|
+
mvgeos-tome = { workspace = true }
|
|
23
|
+
mvgeos-runes = { workspace = true }
|
|
24
|
+
|
|
25
|
+
[build-system]
|
|
26
|
+
requires = ["uv_build>=0.11.2,<0.13"]
|
|
27
|
+
build-backend = "uv_build"
|
|
28
|
+
|
|
29
|
+
[tool.ruff]
|
|
30
|
+
extend = "../pyproject.toml"
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
from mvgeos_agent.agent_session import MvgeTome
|
|
2
|
+
from mvgeos_agent.auth import load_api_key_from_auth, save_api_key_to_auth
|
|
3
|
+
from mvgeos_agent.commands import (
|
|
4
|
+
SLASH_COMMANDS,
|
|
5
|
+
CommandAction,
|
|
6
|
+
CommandDispatcher,
|
|
7
|
+
CommandOutcome,
|
|
8
|
+
)
|
|
9
|
+
from mvgeos_agent.environment import (
|
|
10
|
+
AgentConfig,
|
|
11
|
+
MvgeEnvironment,
|
|
12
|
+
PromptSource,
|
|
13
|
+
ResolvedPrompt,
|
|
14
|
+
)
|
|
15
|
+
from mvgeos_agent.function_spell import (
|
|
16
|
+
FunctionSpell,
|
|
17
|
+
PEP723Metadata,
|
|
18
|
+
PEP723ScriptSpell,
|
|
19
|
+
RuneSpellWrapper,
|
|
20
|
+
SpellUnion,
|
|
21
|
+
coerce_spell,
|
|
22
|
+
discover_spells_from_dir,
|
|
23
|
+
parse_pep723_metadata,
|
|
24
|
+
)
|
|
25
|
+
from mvgeos_agent.harness import MvgeHarness
|
|
26
|
+
from mvgeos_agent.installer import (
|
|
27
|
+
fetch_marketplace_mvges,
|
|
28
|
+
install_mvge,
|
|
29
|
+
list_installed_mvges,
|
|
30
|
+
uninstall_mvge,
|
|
31
|
+
)
|
|
32
|
+
from mvgeos_agent.mvge import Mvge
|
|
33
|
+
from mvgeos_agent.protocol import AgentFactory, MvgeAgent, ReloadResult
|
|
34
|
+
from mvgeos_agent.snapshot import (
|
|
35
|
+
RuntimeSnapshot,
|
|
36
|
+
SnapshotConfigEntry,
|
|
37
|
+
SnapshotDiagnostic,
|
|
38
|
+
SnapshotPrompt,
|
|
39
|
+
SnapshotRune,
|
|
40
|
+
SnapshotSkill,
|
|
41
|
+
SnapshotSpell,
|
|
42
|
+
SpellSource,
|
|
43
|
+
)
|
|
44
|
+
from mvgeos_agent.types import MvgeState
|
|
45
|
+
|
|
46
|
+
__all__ = [
|
|
47
|
+
"AgentConfig",
|
|
48
|
+
"AgentFactory",
|
|
49
|
+
"CommandAction",
|
|
50
|
+
"CommandDispatcher",
|
|
51
|
+
"CommandOutcome",
|
|
52
|
+
"FunctionSpell",
|
|
53
|
+
"Mvge",
|
|
54
|
+
"MvgeAgent",
|
|
55
|
+
"MvgeEnvironment",
|
|
56
|
+
"MvgeHarness",
|
|
57
|
+
"MvgeState",
|
|
58
|
+
"MvgeTome",
|
|
59
|
+
"PEP723Metadata",
|
|
60
|
+
"PEP723ScriptSpell",
|
|
61
|
+
"PromptSource",
|
|
62
|
+
"ResolvedPrompt",
|
|
63
|
+
"ReloadResult",
|
|
64
|
+
"RuneSpellWrapper",
|
|
65
|
+
"RuntimeSnapshot",
|
|
66
|
+
"SLASH_COMMANDS",
|
|
67
|
+
"SnapshotConfigEntry",
|
|
68
|
+
"SnapshotDiagnostic",
|
|
69
|
+
"SnapshotPrompt",
|
|
70
|
+
"SnapshotRune",
|
|
71
|
+
"SnapshotSkill",
|
|
72
|
+
"SnapshotSpell",
|
|
73
|
+
"SpellSource",
|
|
74
|
+
"SpellUnion",
|
|
75
|
+
"coerce_spell",
|
|
76
|
+
"discover_spells_from_dir",
|
|
77
|
+
"fetch_marketplace_mvges",
|
|
78
|
+
"install_mvge",
|
|
79
|
+
"list_installed_mvges",
|
|
80
|
+
"load_api_key_from_auth",
|
|
81
|
+
"parse_pep723_metadata",
|
|
82
|
+
"save_api_key_to_auth",
|
|
83
|
+
"uninstall_mvge",
|
|
84
|
+
]
|