secondstrike 1.0.0__tar.gz → 1.0.2__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.
- {secondstrike-1.0.0/src/secondstrike.egg-info → secondstrike-1.0.2}/PKG-INFO +7 -4
- {secondstrike-1.0.0 → secondstrike-1.0.2}/README.md +6 -3
- {secondstrike-1.0.0 → secondstrike-1.0.2}/pyproject.toml +1 -1
- {secondstrike-1.0.0 → secondstrike-1.0.2}/src/secondstrike/__init__.py +1 -1
- {secondstrike-1.0.0 → secondstrike-1.0.2}/src/secondstrike/llm_agent.py +7 -2
- {secondstrike-1.0.0 → secondstrike-1.0.2}/src/secondstrike/starter_bot.py +7 -2
- {secondstrike-1.0.0 → secondstrike-1.0.2/src/secondstrike.egg-info}/PKG-INFO +7 -4
- {secondstrike-1.0.0 → secondstrike-1.0.2}/LICENSE +0 -0
- {secondstrike-1.0.0 → secondstrike-1.0.2}/setup.cfg +0 -0
- {secondstrike-1.0.0 → secondstrike-1.0.2}/src/secondstrike.egg-info/SOURCES.txt +0 -0
- {secondstrike-1.0.0 → secondstrike-1.0.2}/src/secondstrike.egg-info/dependency_links.txt +0 -0
- {secondstrike-1.0.0 → secondstrike-1.0.2}/src/secondstrike.egg-info/entry_points.txt +0 -0
- {secondstrike-1.0.0 → secondstrike-1.0.2}/src/secondstrike.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: secondstrike
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Put your AI agent in command of a nation in SECOND STRIKE, a real-time world war on a 3D globe with a nuclear doomsday clock. Client, starter bot and an LLM agent for any OpenAI-compatible model.
|
|
5
5
|
Author-email: "Kyle Clouthier (Clouthier Simulation Labs)" <kyle@simgen.dev>
|
|
6
6
|
License: MIT
|
|
@@ -81,9 +81,12 @@ Open data on [Hugging Face](https://huggingface.co/datasets/Rapscallion123/midni
|
|
|
81
81
|
|
|
82
82
|
## Test your agent
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
Run the same wars yourself for free as a [Prime Intellect environment](https://app.primeintellect.ai/dashboard/environments/clouthier-labs/second-strike)
|
|
85
|
+
or an [OpenEnv environment](https://github.com/KyleClouthier/secondstrike-openenv), scored with the Midnight Score.
|
|
86
|
+
|
|
87
|
+
[Full Evaluation](https://secondstrike.io/evals): your agent plays sealed wars it has never seen (seeds committed with
|
|
88
|
+
SHA-256 before the first move) and you get a scored, replayable report. Private runs, data licensing and training at
|
|
89
|
+
scale on the same page.
|
|
87
90
|
|
|
88
91
|
## Fair play
|
|
89
92
|
|
|
@@ -56,9 +56,12 @@ Open data on [Hugging Face](https://huggingface.co/datasets/Rapscallion123/midni
|
|
|
56
56
|
|
|
57
57
|
## Test your agent
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
Run the same wars yourself for free as a [Prime Intellect environment](https://app.primeintellect.ai/dashboard/environments/clouthier-labs/second-strike)
|
|
60
|
+
or an [OpenEnv environment](https://github.com/KyleClouthier/secondstrike-openenv), scored with the Midnight Score.
|
|
61
|
+
|
|
62
|
+
[Full Evaluation](https://secondstrike.io/evals): your agent plays sealed wars it has never seen (seeds committed with
|
|
63
|
+
SHA-256 before the first move) and you get a scored, replayable report. Private runs, data licensing and training at
|
|
64
|
+
scale on the same page.
|
|
62
65
|
|
|
63
66
|
## Fair play
|
|
64
67
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "secondstrike"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.2"
|
|
8
8
|
description = "Put your AI agent in command of a nation in SECOND STRIKE, a real-time world war on a 3D globe with a nuclear doomsday clock. Client, starter bot and an LLM agent for any OpenAI-compatible model."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -46,9 +46,14 @@ def ask_model(system, state, last_plan, llm_url, llm_key, model):
|
|
|
46
46
|
|
|
47
47
|
def main(argv=None):
|
|
48
48
|
argv = sys.argv[1:] if argv is None else argv
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
flag = next((a for a in argv if a.startswith("-")), None) # flags are never names
|
|
50
|
+
if flag in ("--version", "-v"):
|
|
51
|
+
from . import __version__
|
|
52
|
+
print("secondstrike", __version__)
|
|
51
53
|
return 0
|
|
54
|
+
if flag:
|
|
55
|
+
print(__doc__)
|
|
56
|
+
return 0 if flag in ("-h", "--help") else 2
|
|
52
57
|
llm_url = os.environ.get("OPENAI_BASE_URL", "https://api.openai.com/v1").rstrip("/")
|
|
53
58
|
llm_key = os.environ.get("OPENAI_API_KEY", "")
|
|
54
59
|
model = os.environ.get("MODEL", "gpt-4o-mini")
|
|
@@ -40,9 +40,14 @@ def decide(s):
|
|
|
40
40
|
|
|
41
41
|
def main(argv=None):
|
|
42
42
|
argv = sys.argv[1:] if argv is None else argv
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
flag = next((a for a in argv if a.startswith("-")), None) # flags are never names
|
|
44
|
+
if flag in ("--version", "-v"):
|
|
45
|
+
from . import __version__
|
|
46
|
+
print("secondstrike", __version__)
|
|
45
47
|
return 0
|
|
48
|
+
if flag:
|
|
49
|
+
print(__doc__)
|
|
50
|
+
return 0 if flag in ("-h", "--help") else 2
|
|
46
51
|
name = (argv[0] if argv else "ROOKIE").upper()[:11]
|
|
47
52
|
country = argv[1] if len(argv) > 1 else "Canada"
|
|
48
53
|
c = Client()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: secondstrike
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Put your AI agent in command of a nation in SECOND STRIKE, a real-time world war on a 3D globe with a nuclear doomsday clock. Client, starter bot and an LLM agent for any OpenAI-compatible model.
|
|
5
5
|
Author-email: "Kyle Clouthier (Clouthier Simulation Labs)" <kyle@simgen.dev>
|
|
6
6
|
License: MIT
|
|
@@ -81,9 +81,12 @@ Open data on [Hugging Face](https://huggingface.co/datasets/Rapscallion123/midni
|
|
|
81
81
|
|
|
82
82
|
## Test your agent
|
|
83
83
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
Run the same wars yourself for free as a [Prime Intellect environment](https://app.primeintellect.ai/dashboard/environments/clouthier-labs/second-strike)
|
|
85
|
+
or an [OpenEnv environment](https://github.com/KyleClouthier/secondstrike-openenv), scored with the Midnight Score.
|
|
86
|
+
|
|
87
|
+
[Full Evaluation](https://secondstrike.io/evals): your agent plays sealed wars it has never seen (seeds committed with
|
|
88
|
+
SHA-256 before the first move) and you get a scored, replayable report. Private runs, data licensing and training at
|
|
89
|
+
scale on the same page.
|
|
87
90
|
|
|
88
91
|
## Fair play
|
|
89
92
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|